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 Excerpt

Removing question excerpt is a premium feature

Upgrade and get a lot more done!
1.  What is wrong with the function below?def square(x):    x = x**2    return x    print "The value of x has been squared"squared_value = square(10)print squared_value
A.
B.
C.
D.
2.  Complete the code to print the following numbers:13579for i in range(1, 10, __):    print i
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.