Python Quiz
English
Elementary
151
Questions
1 min
Per question
15:36
Average time
Disqualified
Contest Score
4
Participants
12 comments
Smart Tiger judge
Thank you for taking the effort to submit your test for the contest.
Unfortunately, this test will not be able to receive a prize:

Not an original test. Questions, answers were copied from an existing test. E.g. #q1<=https://iowiki.com/python/python_online_quiz.html,
#q15<=https://www.sookshmas.com/quiz/93204-4461/public/What-is-the-output-of-the-following-codenum3while,
#q40<=https://www.gangboard.com/blog/python-interview-questions-and-answers etc
Small Lizard
3 questions match with questions from other quiz
Proof: https://telegra.ph/3-same-questions-in-two-quizzes-05-28
Small Lizard
Which operator is right-associative
Your answer is "=" but it doesn't have associativity
My explanation:
This expression is correct: a=b=1
But we can't add brackets to it: (a=b)=1or a=(b=1)
So there is no correct answer in this question
Small Lizard
l = [1, 2, 3]
print(l[-2)
There will be SyntaxError because you forgot about closing square bracket
Small Lizard
x = 2
y = 10
x *= y * x + 1
What is the output of this code?

There is no output because there is no print function in the code
Small Lizard
What is more accurate for the following declaration? (Question about Circle)
You are talking about some code, but there is no code in this question
Small Lizard
def total(initial = 5, *num, **key):
Your explanation: Initial value 100 is summarized with the rest integer parameters 2, 3 and 50. The correct answer is 255.
You forgot about one more value "100"
Small Lizard
What function removes the last object from the list l?
Your answer is "l.pop(obj=l[-1])", but list.pop doesn't accept "obj" argument.
Correct answer is "l.pop()" or "l.pop(-1)"
Small Lizard
raining'.find('z')
You forgot about opening quote
Small Lizard
num=3
while True: ...
Here, loop will run forewer. Probably you skipped 2 indents (in 2 last lines).
Take the quiz to leave a comment