Heeeelp!! | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

Heeeelp!!

i need a counter, im using the variable " for ", but i cant show the results on screen, please help me!!

13th Nov 2016, 1:38 PM
Luis Lopez
Luis Lopez - avatar
5 Antworten
+ 4
You cannot use the variable "for", since it is a reserved word. Try something like "steps" or "iterations".
13th Nov 2016, 1:42 PM
Keto Z
Keto Z - avatar
+ 2
Not as your variable name, but you could use them for the loop type.
13th Nov 2016, 1:47 PM
Keto Z
Keto Z - avatar
+ 1
what do you want to count? (it is important)
15th Nov 2016, 1:15 AM
Rihards Sisojevs
Rihards Sisojevs - avatar
0
can i use While or Do While ?
13th Nov 2016, 1:45 PM
Luis Lopez
Luis Lopez - avatar
0
yes i know, my variable name shouldnt be that haha, thank you :)
13th Nov 2016, 1:49 PM
Luis Lopez
Luis Lopez - avatar