+ 1

How to print a series of numbers without using loop in python?

7th Jul 2018, 11:15 AM
Chaitanya Sharma
Chaitanya Sharma - avatar
3 Antworten
+ 15
For example: print(*range(100)) That what you mean?
7th Jul 2018, 11:34 AM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
+ 4
you can do it like this print(obj1,obj2,obj3......)
7th Jul 2018, 12:00 PM
Mr. Bot
Mr. Bot - avatar
+ 4
print(list(range(201))
7th Jul 2018, 4:37 PM
Maninder $ingh
Maninder $ingh - avatar