Python quiz
What is the output?
A. 10
B. 2
C. Syntax error
D. 5
#python #pythonquiz #python3 #pythonprogramming
Python quiz
What is the output?
A. 5
B. 2
C. Syntax error
D. None
#python #pythonquiz #python3 #pythonprogramming
Python quiz:
What is the output of this code?
#python #python3 #pythonprogramming #pythonquiz #pythontips
Python quiz
a. [1, 4]
[1, 4, 5]
b. [1, 4, 5]
[1, 4, 5]
c. [1, 4]
[1, 4]
#python #pythonprogramming
#pythontips #programmer #Python3 #pythonquiz
#python #pythonprogramming #pythontips #programmer #python3 #pythonquiz
Python quiz
What is the result
A. Invalid syntax, should use 'if' for condition
B. [80,73,82,64]
C. [True, True, True, True, False]
D. [80]
#pythonquestion #python #python3 #pythonquiz #programmers
#pythonquiz #pythonprogramming #python #coding #programming
🐍 Python quiz
What is the language that never gets printed ?
A. Golang
B. Java
C. Python
D. Python and JavaScript
E. Java and JavaScript
#python #pythonprogramming #python3 #pythonquiz
Python quiz time
What is the result?
A.
0 Sunday
1 Monday
2 None
3 None
4 None
5 None
6 None
B.
0 Sunday
1 Monday
C.
1 Sunday
2 Monday
3 None
4 None
5 None
6 None
7 None
D.
Gives error since list size mismatched
#python #pythonquiz #python3 #pythonprogramming
🐍 Test your python skills
Let us see if you can solve this python quiz
90% of beginners will fail in this...
#Python #pythonprogramming #python3 #DataScience #mlops #DataScience #pythonquiz #coding
#python #pythonprogramming #python3 #datascience #MLOps #pythonquiz #coding
Simple Numpy quiz
What is the answer?
#MachineLearning #DataScience #DataScientists #dataScientist #ML #MLEngineer #NumPy #python #PythonQuiz
#machinelearning #datascience #datascientists #DataScientist #ml #mlengineer #numpy #python #pythonquiz
Heute machen wir ein kleines PythonQuiz. Wer kann erklären, wie die folgende Ausgabe zustande kommt und wie man das Problem beheben kann?
def f(i):
print(i)
l = []
for i in range(3):
l.append(lambda: f(i))
for g in l:
g()
Ausgabe:
2
2
2
Heute machen wir ein kleines PythonQuiz. Wer kann erklären, wie die folgende Ausgabe zustande kommt und wie man das Problem beheben kann?
def f(i):
print(i)
l = []
for i in range(3):
l.append(lambda: f(i))
for g in l:
g()
Ausgabe:
2
2
2