Advertisement
Tyler_Elric

Untitled

Dec 3rd, 2016
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.41 KB | None | 0 0
  1. # lines that start with a hashtag are comments
  2. # a resolution is how many pixels you get on a screen
  3. resolution = (800,600)
  4. # variables hold data so you can use it later
  5. # variables can have different data types
  6. x = 5 # this declares a variable named x, and it now holds the data 5
  7. name = "Foxy" # assigns the text value "Foxy" to the variable "name"
  8. print(name) # puts the value of the name variable on the console.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement