Python MCQ Quize | CodeAj #pythoncoding4u

preview_player
Показать описание
Ready for a Python challenge? Test your skills with this brain-teasing question:

Answer
B) 0 1

Explanation
The code uses a for loop to iterate over the range(5) and prints 'i' in each iteration. However, if 'i' is equal to 2, it breaks out of the loop. Therefore, the output is 0 1.

Drop your answers in the comments! Let's see who can crack this Python puzzle! Don't forget to engage with us using these hashtags:

#codeaj
#codingchallenge #codingchallenge #codingchallenge #codingchallenge #codingchallenge #codingchallenge #codingchallenge #ProgrammingLanguages
#codingchallenge #codingchallenge #pythoncoding
#codingchallenge #codingchallenge #codingchallenge
Рекомендации по теме