Python Programming Basics
English
Базовый
A quiz assessing students understanding of basic Python.
Описание
Теги
30
Вопросов
30 сек
На вопрос
6:33
Среднее время
3,0
Результат в конкурсе
3,5
Оценка пользователей
60
Прошли тест
* syntax error
* logic error
* run-time error
* binary error
Explanation: A TypeError occurs when an operation or function is applied to an object of inappropriate type.
Why explanation is about TypeError but options are other errors?
MyName = ("Horatio") is also correct answer: https://ideone.com/ey79aL
Actually, after running these codes, there will be extra output: "Please enter a number:" and "Welcome...\n***...\nPress..." respectively
while True: ...
Here, loop will run forewer. Probably you skipped 2 indents (in 2 last lines).
Analyze the given code
This code will give SyntaxError because of Demo(''Hello''), there is two apostrophes on each side of Hello
Proof: https://telegra.ph/3-same-questions-in-two-quizzes-05-28