Quiz Yourself on Console Input/Output

Test your knowledge of console input/output.

Quiz

1

What will be the output of the following code snippet?

l, b = 1.5678, 10.5
print('length = {l} breadth = {b}')
A)

1.5678 10.5

B)

length = 1.5678 breadth = 10.5

C)

length = {l} breadth = {b}

D)

SyntaxError

Question 1 of 50 attempted

Get hands-on with 1400+ tech skills courses.