For loops | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

For loops

Hello! Here is my code: n = int(input()) for i in range(1, n+1): for j in range(1, i+1): print(j) My expectations: 1 12 123 12345 Please help if possible!

22nd May 2021, 5:58 PM
Ailana
Ailana - avatar
1 Resposta
+ 3
i should make a copy šŸ¤”
22nd May 2021, 6:24 PM
tooselfish
tooselfish - avatar