# python comment
# variables-text.py
# created Mark Boomer

# Creating a string (we must use either single or double quotes)
name = 'Your Name Here'
print(name)

# Modify an existing string variable
# If we were using double quotes: name = "New Name"
name = 'New Name'
print(name)
name = "Mark Boomer"
print(name)

# none = null
# name = none  means name has no value assigned to it

# Creating an integer
lives = 3
print(lives)

# Creating a float
speed = 10.1
print(speed)

# Boolean variables
is_game_over = False
active = True

# print in the type of variable in the console
print("Data Type for Lives : ")
print(type(lives))

x_pos = 5                   # int
speed = 2.5                 # float
is_game_over = False        # boolean
character_name = 'Nimish'   # string

x_pos = speed               # x_pos = 2.5

is_game_over = not is_game_over # is_game_over = true

input_name = input("Enter name : ")
output_name = "Hello " + input_name
print(output_name)

new_pos = x_pos + speed     # new_pos = 5
print(new_pos)

# modulus operator %
mod_x_pos = x_pos % 2       # mod_x_pos = 1

# floor operator // is opposite of modulus
floor_div_pos = x_pos // 2   # floor_div_xpos = 2

# conditional: > >= < <= != ==

