Quiz
Use this quiz to test your understanding of the concepts explained in this chapter!
1
Which statement is correct about the following code?
def one():
print(1, end=' ')
def zero():
print(0, end=' ')
def f1():
one()
zero()
def f2():
zero()
one()
one()
def f3():
one()
zero()
zero()
f1();f3();f2();f1()
A)
There are a greater number of 1s than 0s.
B)
There are a greater number of 0s than 1s.
C)
There are an equal number of 1s and 0s.
Question 1 of 50 attempted
Get hands-on with 1400+ tech skills courses.