Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

kindly answer 1-3 Neatly CS100 Homework 03 Due Date: Do all of the items below and submit a text file created with the IDLE editor

kindly answer 1-3 Neatly
image text in transcribed
CS100 Homework 03 Due Date: Do all of the items below and submit a text file created with the IDLE editor (or other editor) with the extension py via Canvas. If you run into a problem, post to Canvas describing where you ran into trouble or email your instructor or classroom assistant, or ask your question during recitation hours. If you know the answer to someone's question on Canvas, post a response. You get course credit for asking and answering questions in Canvas. - Read the first section of Chapter 4 (Case Study: Interface Design): "The turtle module" in the textbook. - In the Python editor IDLE, create and save a Python file that is named, if your name is Harry Houdini, for example, HW3_HarryHoudini.py and begins with a comment containing your name, class and section, the posting date and number of the homework assignment. Use either a block comment or one-line comment style. Example: Harry Hondini CS 10020185 Section 004 HW 03, Jamaan 29, 2018 or " Harry Houdini Hi CS 10020185 Section 004 \# HW 03, January 29,2018 1. Write code that uses turtle graphics to draw an equilateral triangle, a square and a regular pentagon, each with side length 100. 2. Write code that uses turtle graphics to draw four concentric circles of radius 50,100,150 and 200 . 3. Write code that uses the Python math module to compute and print out the values of a. 100 ! b. the log (base 2) of 1,000,000 c. the greatest common divisor of 63 and 49 Hint There is a description of each function in the math module in the Python documentation, which you can access through IDLE from the Help menu as follows: Heln (B) Python Docs ( P) Pvhon Modulc Index (2) math

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Structured Search For Big Data From Keywords To Key-objects

Authors: Mikhail Gilula

1st Edition

012804652X, 9780128046524

More Books

Students also viewed these Databases questions