Skip to content

video not played or not found error
click on direct switch

Hosted by Dailymotion. For legal issues: Copyright Center · DMC · Instant Removal

Lecture 55: Learn to Generate a table of two in Python

N
Nafees AI Lab

14 Views • May 22, 2025

Description


This code defines a function multiplication_table_of_two that takes an integer limit as input. It then iterates from 1 to limit (inclusive) and prints the multiplication of 2 with each number in the loop. The output will be the multiplication table of 2, up to the specified limit (10 in this case), formatted as "2 x i = 2 * i".