Write the program with a maximum three line of code and that assign first five multiples of number

preview_player
Показать описание
Q. Write the program with a maximum three line of code and that assign first five multiples of number to 5 variable and then print them.

Website Link :-

Sumita Arora Class 11 computer science chapter Python fundamental type C Q 5

Answer :-

a= 5
b,c,d,e,f = 1,2,3,4,5
print(a*b,a*c,a*d,a*e,a*f)

Output :-

5 10 15 20 25

#python

python class 11 cbse chapter 1,
python class 11 cbse sumita arora,
python class 11 sumita arora chapter 2,
python class 11th,
Рекомендации по теме