Ok.. so I just started python (just = 3 hours ago). I have basic input and output set. Hell I even understand slicing and stuff (OMG SUBSTRINGS SO MUCH EASIER ON PYTHON :O ) but Im finding it not so easy to understand how to use for loops (silly me. I know -.-)
So I was hoping if someone could explain to me how they work in python and what's what in the syntax.
Cheers.
EDIT: Also, how can I just declare a variable and use it later? for example, like in java:
int a;
//lines of codes... probably a few lines later
a = 4;
//or the user can input the number of his choice... Im not picky