TORONTO KIDS COMPUTER CLUB | PMCA Sunday 14:00 Python Homework 21.05.16.
19466
post-template-default,single,single-post,postid-19466,single-format-standard,ajax_fade,page_not_loaded,,qode-theme-ver-7.6.2,wpb-js-composer js-comp-ver-6.8.0,vc_responsive

PMCA Sunday 14:00 Python Homework 21.05.16.

19 May PMCA Sunday 14:00 Python Homework 21.05.16.

Question 1:
Create a countdown timer using the random and the time module in python. Please follow the below steps

  • Create a random number with python
  • Start a loop from the random number to 0 and using the time module, print each number in the iteration every 1 second.

Question 2:
Input 2 random number using python and then print the subtraction, division, addition and multiplication of the two numbers.

No Comments

Sorry, the comment form is closed at this time.