Explore
Courses
Batches
Sketches
Statistics
Code a Pookkalam
Jobs
Devsprint
People
Course Creation
Create a Course
Guidelines
Resources
Support
Blogs
My Profile
About Us
Login
Sketches
0
squares
By
Merryl Johns
Run
def bleh(n,p): h=50 w=50 step=50/n x=p y=0 for i in range(n): s=rectangle(x=x,y=y,h=h,w=w) show(s) h-=step w-=step def move(m): x=-100 for i in range(1,m+1): bleh(i,x) x+=50
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login