Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #An introduction to Python for beginners by Koding Kid
- #This is a comment
- print("Hello World")
- #This is a hello world print script
- string1 = "hello"
- print(string1)
- #This is a variable/string
- x = 100
- print(x)
- #This is an integer
- x = 1.5
- print(x)
- #This is a float
- a = 392
- b = 45
- if a > b:
- print("a is greater than b")
- else:
- print("a is smaller than b")
- #This is a boolean value
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement