+ 5

Hey I want to print a pattern and wrote a code for it but my Code is too bulky can you help me to optimise it

https://code.sololearn.com/cljIp7zguFth/?ref=app This is the code I want to replace the if else statements and make it using only for loop so can you all please help me to do so [SOLVED]

26th Jun 2020, 11:02 AM
Vijay Gunwant
Vijay Gunwant - avatar
12 Respostas
+ 4
Kiibo Ghayal thanks for your answer
26th Jun 2020, 11:38 AM
Vijay Gunwant
Vijay Gunwant - avatar
+ 4
𝐊𝐱𝐱𝐛𝐹 𝐆𝐡𝐚đČđšđ„ ok now I came to know how you all mention me 😁😂😂 while it's about a year I installed sololearn
26th Jun 2020, 11:40 AM
Vijay Gunwant
Vijay Gunwant - avatar
+ 4
~ swim ~ this was so bcause i was just focusing on that 10×10 pattern. and thanks for your advice I will definitely follow that
26th Jun 2020, 2:33 PM
Vijay Gunwant
Vijay Gunwant - avatar
+ 4
~ swim ~ thanks
26th Jun 2020, 2:49 PM
Vijay Gunwant
Vijay Gunwant - avatar
+ 3
𝐊𝐱𝐱𝐛𝐹 𝐆𝐡𝐚đČđšđ„ Code Crasher ~ swim ~ hey i recreated this program in my new id please check it out and please give me a feed back too https://code.sololearn.com/cipk2zDOH3HU/?ref=app
26th Jun 2020, 2:39 PM
Vijay Gunwant
Vijay Gunwant - avatar
+ 2
Code Crasher thanks for your advice
26th Jun 2020, 2:33 PM
Vijay Gunwant
Vijay Gunwant - avatar