Tag the questions with any skills you have. Your dashboard will track each student's mastery of each skill.
Q 1/2
Score 0
What is the output of the following code snippet?```pythonx = 7y = 3if x % y == 0: print('x is divisible by y')else: print('x is not divisible by y')```
30
The code will not produce any output
This code will result in an error
x is not divisible by y
x is divisible by y
Q 2/2
Score 0
What is the output of the following code snippet?```pythonx = 5if x < 0: print('x is negative')elif x == 0: print('x is zero')else: print('x is positive')```
30
x is positive
x is zero
This code will result in an error
x is negative
Loading...
Loading...
2 questions
Q.
What is the output of the following code snippet?```pythonx = 7y = 3if x % y == 0: print('x is divisible by y')else: print('x is not divisible by y')```
1
30 sec
Q.
What is the output of the following code snippet?```pythonx = 5if x < 0: print('x is negative')elif x == 0: print('x is zero')else: print('x is positive')```