0

For loop Q

How to print numbers in sequence 12345 Not like this 1 2 3 4 5

9th Nov 2024, 2:16 AM
Farhan Ali
2 Réponses
+ 5
Farhan Ali for n in range(1,6): print(n,end='')
9th Nov 2024, 3:30 AM
BroFar
BroFar - avatar
+ 2
you must mention a programming language.
9th Nov 2024, 3:13 PM
Alhaaz
Alhaaz - avatar