TechnologyProfessionTest
Sort by
Newest
Most popular
Last review
Filter by
Published
81
To review
0
TechnologyProfessionTest
Sort by
Newest
Most popular
Last review
Filter by
Published
81
To review
0
81 questions
Easy
30 votes1312 runs1 comment
Write a Python function that returns the factorial of a number.
Back-end developer
recursion
Vincent Cotroat Mar 28, 2023
Hard
16 votes1674 runs0 comment
Medium
9 votes1519 runs0 comment
Hard
5 votes1955 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 votes271 runs0 comment
Hard
4 votes1957 runs0 comment
What is the output of the following Python code? ``` G = '123' print(G + 1) ```
Antoine Brennerat Dec 2, 2021
Hard
4 votes1957 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
4 votes1955 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 votes1953 runs0 comment
Write a Python code that will wait for 40 seconds.
Antoine Brennerat Dec 2, 2021
Hard
4 votes1947 runs0 comment
Hard
3 votes1965 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 votes1939 runs0 comment
Python: Decorator that prevents the creation of an instance of a class
Antoine Brennerat Dec 2, 2021
Hard
3 votes1217 runs0 comment
Medium
3 votes748 runs0 comment
Hard
3 votes399 runs0 comment