TORONTO KIDS COMPUTER CLUB | Uncategorized
1
archive,paged,category,category-uncategorized,category-1,paged-47,category-paged-47,ajax_fade,page_not_loaded,,no_animation_on_touch,qode-theme-ver-7.6.2,wpb-js-composer js-comp-ver-6.10.0,vc_responsive

Uncategorized

04 Sep PMCA Saturday 18:30 Python Homework 20.08.29.

Question: Design the game over screen as below: Remember below is how we create texts: gameOverFont = pygame.font.Font(None, 80) gameOverText = "Game Over" gameOverSurf = gameOverFont.render(gameOverText, 1, (255, 0, 0)) screen.blitgameOverSurf, [160, 200]) Please modify the below if statement in the code to display the game over screen: if is_game_over == True:    ...

Read More

29 Aug PMCA Sunday 14:00 Python Homework 20.08.23.

Question 1: Ask the user for two numbers and then print the addition, subtraction, division(quotient), multiplication and the remainder(the number left when the first number is divided by the second number) Sample Execution in shell ------------------------------------------------- >>> Enter first number: 20 >>> Enter second number: 8 >>> Addition is 28 >>> Subtraction...

Read More