0
[Solved] Drawing in Python with ''turtle'' module. Help to make a shorter loop. Combine 10 loops in 1
Good day time! I want to make 10 squares using loops. Now my code is 26 lines long and doing just 3 loops. Help me pls to make it shorter. I think it would be nice to make an all code in one loop) PS. Solo doesn't accept turtle module(( https://code.sololearn.com/cQ8C6Xce6jJc/#py
3 Antworten
+ 2
I have never used turtle but does this work? Please tell me. I want to know.
https://code.sololearn.com/c2RzE1ijzX41/?ref=app
+ 1
Thank you, sir! You're great! Working perfectly! Little misclick in6th line - there must be ',' instead of ':' but thanks a lot for your help!
+ 1
You're welcome! Thank you for pointing out the mistake!