TORONTO KIDS COMPUTER CLUB | admin
1
archive,paged,author,author-admin,author-1,paged-189,author-paged-189,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

Author: admin

21 May Saturday 16:30 Python Homework 05.18.

Question 1. We have a list of following: zoo = ['monkeys', 'tigers', 'pandas', 'penguins', 'giraffes', 'hippos', 'bears'] how to retrieve a slice of list zoo, so you can get the following result? ['monkeys', 'pandas', 'giraffes', 'bears'] Question 2. How to get average number of the following  list mynumber? mynumber = ['3', '6', '2', '8',...

Read More

14 May Sunday 16:00 Python Homework 05.12.

Question 1. Write a program (you need to create new file in python) that asks for your first name, then asks for your last name, and then prints a message with your first and last names in it. Sample input: First Name: Peter Last Name: Parker Sample output: My name is Peter Parker. Hint: Please...

Read More