Python Online Quiz – It’s exam time for python aspirants

Free Python course with 25 real-time projects Start Now!!

Searching for a good quiz to test your Python knowledge? Your search ends here. This Python online quiz is for intermediate and advanced learners.

It will not only help you to test your knowledge but also discover your strengths and weaknesses with Python.

Attempt other parts of the Python quiz once you are done with this part:

So, let’s play the Python online quiz.

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

If you have any queries and suggestions regarding the Python online quiz, share it in the comment section.

Did you like our efforts? If Yes, please give DataFlair 5 Stars on Google | Facebook

9 Responses

  1. apeksha jain says:

    If i am not wrong the Q.8 answer would be 1 instead 0.

    • DataFlair Team says:

      Hello Apeksha,

      The answer is zero as Python uses round to even strategy for .5 values. Try running the script in Python and you will understand.

  2. Pavan Kumar Korlakunta says:

    for 12th question the answer is option a it’s not b,if we use l2=l1 then option b is correct but here you used l2=l1.copy() while using this statement it cannot affect the l1 list

    • Max says:

      l2=l1.copy() creates a shallow copy. The reference to the list [2, 3] is copied, not the list itself.
      Therefore l1 is affected.

  3. Adeleke Dare says:

    Hello, I am new to programming and I wish to enrol in the course so that I can have access to your facilitators but I am financially incapable. Please, If I can go through all the tutorials in the blogs and creating a portfolio with the projects on the website, will they be enough for me to develop something on my own or secure a job.


  4. vpbisht says:

    def show(list,length):
    print(list[length-1],end= ”)

    I am getting 5[1, 2, 3, 4, 5] 4, do I missed something here.

    • Lakshmeesha Kadamannaya says:

      In the function, the 3rd line should be ‘show(list, length-1)’ instead of ‘print(list,length-1)’

  5. Lakshmeesha Kadamannaya says:

    Very nice, this set of questions is little tough as compared previous two sets.

Leave a Reply

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

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.