0

I need help with a python program i need to write. It has to do with turtle and making shapes. Can anybody help?

1st Dec 2016, 12:01 AM
Jahnkarlo
2 Antworten
+ 1
I'm sure someone can. Is it for homework? There is kind of a no-no for some people to help do homework assignments. Also, difficult to help if the problem is not explained.
1st Dec 2016, 3:41 AM
Tor Sorensen
Tor Sorensen - avatar
0
So i have a project due for my intro to programing class and i have a project to do that i have no idea how to do. Basically this program will allow the player to draw geometric shapes and an option to quit the program. It must have a set of phthon turtle graphics functions builf-in. UserMenu: Draw_Square_Choice = 1 Draw_Rectangle_Choice = 2 Draw_Anyshape_Choice = 3 Quit_Choice = 4 The first Menu option: the user will have the option to draw a square. Use turtle to draw a square of any size. Create a function drawsquare() that takes two parameters, namely the turtle to draw the square and the size of the square. The user will enter the length size. Later your program will call this function. Second Menu Option. The user will have the option to draw a rectangle. Create a function drawrrctangle() to double the size of a shape to make a rectangle. Third menu option: the user can draw a shape of your choice. This shape function drawshapeofyourchoice(), takes three parameters: myturtle, width, height. Fourth menu option: quit. Your program must have instructions for the player. Your program must use meaningful functions and show modularity in the design. Your program should not accept invalid choices from the player. So if anybody can help me with this it'll be awesome. Thanks lol Im going to school for negworking so i dont need to know programming. Ive tried and tried amd it just wont click. Lol
1st Dec 2016, 3:47 AM
Jahnkarlo