0

Python loop help

I tried to make a string multiply in a loop like this: . .. ... .... i=10 I=[i] while True: i*=10 if i>100000 break L=(len(I)) dot=(L*".") print (dot) This obviously didnt work as i tought.. where is my mistake in this? Im sure there is a easy way to fix this problem.. Thanks

3rd Jul 2019, 6:56 PM
Karsten Langeland
Karsten Langeland - avatar
1 Answer