TORONTO KIDS COMPUTER CLUB | Sunday 12:00 Python Homework 11.18.
post-template-default,single,single-post,postid-15959,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

Sunday 12:00 Python Homework 11.18.

20 Nov Sunday 12:00 Python Homework 11.18.


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.



No Comments

Sorry, the comment form is closed at this time.