TORONTO KIDS COMPUTER CLUB | Saturday 14:00 Python Homework 11.17.
15956
post-template-default,single,single-post,postid-15956,single-format-standard,ajax_fade,page_not_loaded,,qode-theme-ver-7.6.2,wpb-js-composer js-comp-ver-6.10.0,vc_responsive

Saturday 14:00 Python Homework 11.17.

19 Nov Saturday 14:00 Python Homework 11.17.

 

Question 1.

Write a short program to generate a list of five random integer numbers from 1 to 20, and print them out.


Question 2.

Write a short program that prints out a random decimal number every 3 seconds for 30 seconds.

Hint: You need import module time. time.sleep(5) means wait 5 seconds


Bonus Question (Difficulty: Hard):

Write a function to print your name in big letters, make sure you enter the name in lower case, like this:

Please download the following file and finish the function.

big_letter_hint

 

No Comments

Sorry, the comment form is closed at this time.