He created Python
Guido Von Rossum
Are they the same: Cat and cat
NO
Комментарии к тексту программы
What data type is text?
strings
What data type is 3.56?
float
What data type is the number 3?
What is the result of: print("5"+"3")
53
What is the result of: print(10%5)
0
What are the 3 selection commands you learned?
if, elif, else
Как напечатать пустую строку в Python?
print()
Which is incorrect variable name:
4flowers
twoflowers
sendingflowers
4flowers
4**2/4 is equal to this number
4
What is 10//4/2?
1
What will be displayed on the console:
print("Hello! ")
#print("Nice to meet you!)
Hello!
#print("Nice to meet you!) is a line of comment
(# symbol is for comment)
What is wrong with the following code:
userName = input(Please enter your name: )
It shoudl be userName = input("Please enter your name: ")
What is the result of the following code: print((6**2 - 4 * 2) % 5)
3
Что будет на выходе следующего блока кода:
count = 1
while (count < 5):
print("Рад тебя видеть")
count = count + 1
Рад тебя видеть!
Рад тебя видеть!
Рад тебя видеть!
Рад тебя видеть!