I want to print cricle with I wrote a program but it doesn't work | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

I want to print cricle with I wrote a program but it doesn't work

for r in range(5) for c in range(5) If(r==0 or r==5 and 6%c==0) or (r==1 or r==4 and 30%c!==0) or (r=2 and c==0 or c==5): print("*") else: print(" ",end=" ") print() Expected output: * * * * * * * * * * * *

7th Jun 2020, 6:14 AM
Vicky
Vicky - avatar
1 Answer
0
I need the expected output
7th Jun 2020, 9:12 AM
Vicky
Vicky - avatar