Without using any string methods, print 123...N | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

Without using any string methods, print 123...N

please explain the above question with neat explanation

8th Nov 2019, 5:42 AM
Sumanth Reddy
Sumanth Reddy - avatar
1 Antwort
0
if __name__ == '__main__': n = int(input()) for i in range(1,n+1,1): print(i,end="")
7th Oct 2022, 3:53 AM
KARTHIKEYAN S