loop

Mark Lawrence breamoreboy at yahoo.co.uk
Mon Mar 24 01:56:51 CET 2014


On 24/03/2014 00:35, pabloeruggeri at gmail.com wrote:
> Hello,
>
> I'm trying to create a for loop that starts at 100 and goes to 10Mllion. The increments are like this: 100, 1000, 10000, ..... Basicaly adding a zero each iteration. I'm having problems trying to do it. Can somebody help me
>

Start by rereading this 
http://docs.python.org/3/tutorial/controlflow.html#for-statements, give 
it another go and if you have problems post your code inline here and 
we'll help you out.

-- 
My fellow Pythonistas, ask not what our language can do for you, ask 
what you can do for our language.

Mark Lawrence

---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com





More information about the Python-list mailing list