Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Python Занятие 1
- # Переменные
- a = 1
- b = a + 3
- print(a*b)
- c = 1.5
- d = "Hello"
- e = "Ilya"
- print(d, e)
- # Логические переменные
- f = True
- g = False
- # + - * /
- # % - остаток 7 % 4 = 3
- # // - деление нацело 7 // 4 = 1
- # "Hello"+"World" === "HelloWorld"
- # "Python"*2 === "PythonPython"
- a = 4
- if a > 10:
- print("!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement