TechnologyProfessionTest
Sort by
Newest
Most popular
Last review
Filter by
Published
3733
To review
20
TechnologyProfessionTest
Sort by
Newest
Most popular
Last review
Filter by
Published
3733
To review
20
36 questions
Hard
5 votes2001 runs1 comment
Why is the output of the following code undefined? ``` def f(n): return n + 1 f(n) ```
Antoine Brennerat Dec 2, 2021
Hard
5 votes2000 runs0 comment
Write a Python program to open a file in binary mode and write a string to it.
Antoine Brennerat Dec 2, 2021
Hard
5 votes1990 runs0 comment
Hard
5 votes275 runs0 comment
Hard
4 votes1996 runs0 comment
In Python, what is the output of the following code? `valueA = 10; valueB = 10; valueA is valueB`
Antoine Brennerat Dec 2, 2021
Hard
4 votes1996 runs0 comment
What is the output of the following Python code? ``` G = '123' print(G + 1) ```
Antoine Brennerat Dec 2, 2021
Hard
4 votes1993 runs0 comment
Write a Python code that will wait for 40 seconds.
Antoine Brennerat Dec 2, 2021
Hard
3 votes2008 runs0 comment
Write a Python function that returns a list of the first n numbers of the Fibonacci sequence.
Antoine Brennerat Dec 2, 2021
Hard
3 votes1980 runs0 comment
Python: Decorator that prevents the creation of an instance of a class
Antoine Brennerat Dec 2, 2021
Hard
3 votes1230 runs0 comment
Hard
3 votes412 runs0 comment
Hard
2 votes1986 runs1 comment
Hard
1 vote2036 runs0 comment
What is the output of the following code? ``` print("\u0041") ```
Antoine Brennerat Dec 2, 2021
Hard
1 vote2031 runs0 comment
Hard
1 vote2022 runs0 comment
What is the value of valueA after the following code is executed? ``` valueA = 10 valueB = 20 valueA = valueB ```
Antoine Brennerat Dec 2, 2021
Hard
1 vote1975 runs2 comments