Python Programming Quiz

2 Questions  I  By Singaporetips
Please take the quiz to rate it.

Programming Quizzes & Trivia
This is a quiz to test on basic Python Programming. More quiz questions can be found at http://pyschools. Com

  
Changes are done, please start the quiz.


Questions and Answers

Removing question excerpt is a premium feature

Upgrade and get a lot more done!
1.  Refer to the the code below:a_list = [10, 20, 30, 40].What is the value of a_list[-2]?
A.
B.
C.
D.
2.  Complete the code to print the following patterns: 5 5 5 5 54 4 4 4 43 3 3 3 32 2 2 2 21 1 1 1 1 for i in range(5, 0, ____ ):    print str(i) * 5
Back to top

Removing ad is a premium feature

Upgrade and get a lot more done!
Take Another Quiz
We have sent an email with your new password.