Python MCQ Quiz – Reach next level in Python programming!

Python course with 57 real-time projects - Learn Python

Here is an interesting Python MCQ Quiz. Attempting this quiz will help you to evaluate your knowledge and skills. So, get ready to take the quiz.

Do check out the other parts of the Python quiz as well once you are done with this part:

Here we come to the end of the Python Quiz. Hope you enjoyed it!!!

Do share your feedback and score in the comments section.

Did you like this article? If Yes, please give DataFlair 5 Stars on Google

follow dataflair on YouTube

53 Responses

  1. Gamer'sRepublic says:

    In Quiz Second, 13th question is wrong according to your correct answer.
    Two * gonna be print if and only if the code is such as:
    i=7
    while i>0:
    i-=3
    if i<=2:
    print('*')
    break
    else:
    print('*')

    and According to your code three * will be print.

  2. funjan says:

    its saying all my answers are correct even when they are worng

  3. Vidya says:

    Python MCQ

  4. Abdelrhman says:

    Hello

  5. akriti gupta says:

    same this will print 3 *

  6. Alexandru Gheorghe Muntenaș says:

    i=7
    while i>0:
    i-=3
    print(‘*’)
    if i<=2:
    break
    else:
    print(‘*’)
    this will print three * so i think the answer is wrong

  7. Sai krishna says:

    I need explanation

  8. areef says:

    i=7
    while i>0:
    i-=3
    print(‘*’)
    if i<=2:
    break
    else:
    print('*')

    answers is 3 and you said 2 so it is wrong sir,please check it sir

  9. FUJI ANSORIYADI says:

    question number 8 the correct answer should be an error or exception

Leave a Reply

Your email address will not be published. Required fields are marked *