What is the expected output of the following code?
print(3 * 'abc' + 'xyz')
What is the expected output of the following code?
print(float('1.3'))
A built‑in function is a function which ...
Consider the following code.
1. x = 42
2. y = 7
3. data = "I'm gonna make him an offer he can't refuse."
Which of the following expressions will evaluate to 19?
What is the expected output of the following code?
1. def func(x):
2. try:
3. x = x / x
4. except:
5. print('a', end='')
6. else:
7. print('b', end='')
8. finally:
9. print('c', end='')
10.
11.
12. func(1)
13. func(0)
© Copyrights FreePDFQuestions 2026. All Rights Reserved
We use cookies to ensure that we give you the best experience on our website (FreePDFQuestions). If you continue without changing your settings, we'll assume that you are happy to receive all cookies on the FreePDFQuestions.