Godot 4 how do we do a for i = 1 to 5 print i

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By rodell2020

what that is saying is this
how do we start at 1
1 (the first time )
2 (the second time)
3 (the third time)
4 (the forth time)

i have tried every type of print i can but Godot 4 is not liking the print funcation

:bust_in_silhouette: Reply From: lettucing

doesn’t this work

for i in range(5):
    print(i+1)

Minor adjustment to start at 1

for i in range(1, 5):
    print(i)

Ninfur | 2022-07-26 10:52