+ 1

How to make this code using loop(for i in range)

hello all i want to ask about loop that output like 1 12 123 1234 12345 1234 123 12 1 how to make that code using for i in range

14th Oct 2017, 5:40 PM
Jansen Su
Jansen Su - avatar
2 Respostas
+ 1
@Emma a.append(str(i+1)) print("".join(a)) what is that function of that code?
14th Oct 2017, 6:32 PM
Jansen Su
Jansen Su - avatar