Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # lines that start with a hashtag are comments
- # a resolution is how many pixels you get on a screen
- resolution = (800,600)
- # variables hold data so you can use it later
- # variables can have different data types
- x = 5 # this declares a variable named x, and it now holds the data 5
- name = "Foxy" # assigns the text value "Foxy" to the variable "name"
- print(name) # puts the value of the name variable on the console.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement