Python Programming Quiz

2 Questions  I  By Singaporetips
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.


Question Excerpt

Removing question excerpt is a premium feature

Upgrade and get a lot more done!
1.  Study the code below.x = 1y = 3In Python, x/y returns you 0, which is wrong. Which of the solutions below will fix this.
A.
B.
C.
D.
2.  Study the code given below:import randomx = random.randint(1,6)y = random.randint(1,6)z = random.randint(1,6)a = x + y + zWhat is the possible range of values for a?
A.
B.
C.
D.
Back to top
Quiz Comments (1)
Man, I am TERRIBLE at Python...........
to post comments.

Removing ad is a premium feature

Upgrade and get a lot more done!
Take Another Quiz