I want to repeat an action for n times. I've tried "if" but it does not work.
If actiontimes == n:
Print text*n
Thanks for any advice
I want to repeat an action for n times. I've tried "if" but it does not work.
If actiontimes == n:
Print text*n
Thanks for any advice
You have to write:
for x in range(times):
#action to repeat