TORONTO KIDS COMPUTER CLUB | Aurora Monday 18:30 Homework
119
archive,paged,category,category-aurora-monday-1830-homework,category-119,paged-6,category-paged-6,ajax_fade,page_not_loaded,,qode-theme-ver-7.6.2,wpb-js-composer js-comp-ver-6.10.0,vc_responsive

Aurora Monday 18:30 Homework

10 Mar Aurora Monday 18:30 Python Homework 21.03.08.

Question: Using split and join function of the list to change string "green,red,yellow,blue," into string: "green light* red light* yellow light* blue light* " Hint: >>> vegetables = "carrots, potatoes, onions, leeks, celery" >>> # string.split(separator) will split the string by separator, for example: >>> vegetables = vegetables.split(", ") >>> print(vegetables) ['carrots', 'potatoes', 'onions',...

Read More