git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Nested Loop Code Help


On 27/01/20 4:15 am, ferzan saglam wrote:
> for x in range ( 0, 10):
>    stars = 'x'
>    count = 0
By the way, this 'for' loop is unnecessary. The end result is just to
give initial values to three names. You don't need a loop at all for
that, just three assignment statements.
        	  	  	  	    	   	
-- 
Greg