The result of int(5.7)
What is 5?
The function that prints a statement to the screen and also accepts a user value.
What is a input()?
The logical operator that requires BOTH operands to be True in order to evaluate to True.
What is 'and'?
The result of 7 - 3*2
What is 1?
What is x<5?
The result of 9 // 5
What is 1?
The error in the following code:
grade1 =input("please enter quiz 1 score")
grade2 =input("please enter quiz 2 score")
average = grade1+grade2
print(average)
What is lack of float()?
The following code has an error. Identify the error.
x=6
if x=6:
print(" hello")
else
print("goodbye")
What is = instead of ==?
The result of (12*3)/(9**0.5)
What is 12 ?
The output of the following code:
x=2
y=6
if x+y<=8:
print("yippee")
else:
print("boo")
What is "yippee"?
The result of 7%9
What is 7?
The output of the following code:
schoolName = loa
print(“You ”, end=””)
print(“are a student at “, schoolName)
What is "You are a student at loa"?
The output of the following code:
x = 10
if x<=10 and x%2 ==0:
print("yes")
else:
print("no")
What is "yes"?