filmov
tv
Lesson 14 Python(level 2) nested loops, range, for i in.

Показать описание
Hi, thanks for viewing.
Tasks for better understanding:
Task 1
Write a Python program that prints the multiplication table from 1 to 10 using nested loops.
Task 2
Create a program that takes a list of numbers generated using range. Print each number squared using a nested loop.
Task 3
Write a program that calculates the sum of all numbers from 1 to 100 using a loop and the range() function
Test based on this lesson:
Tasks for better understanding:
Task 1
Write a Python program that prints the multiplication table from 1 to 10 using nested loops.
Task 2
Create a program that takes a list of numbers generated using range. Print each number squared using a nested loop.
Task 3
Write a program that calculates the sum of all numbers from 1 to 100 using a loop and the range() function
Test based on this lesson: