Question: This program will create a glow-in-the-dark night sky-like doodle. The scene will have a moon, and clouds and stars as determined by the user.

This program will create a glow-in-the-dark night sky-like doodle. The scene will

 

This program will create a glow-in-the-dark night sky-like doodle. The scene will have a moon, and clouds and stars as determined by the user. 111 # (3) add functions here that your main program calls # to do stuff. import turtle as t import random width = 0 height = 0 ########### def get_dimensions(): # (1) replace pass with your code width = int(input ("Enter the width:")) height = int(input("Enter the height:")) #*****####*==========================# #Define the draw_cloud, draw_star functions # Define draw function def draw(width, height): t.bgcolor ("black") # Draw the stars # Draw the moon # Draw the clouds. get_dimensions() draw (width, height) t.mainloop()

Step by Step Solution

3.48 Rating (158 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

It looks like you want to create a Python program using the Turtle graphics library to draw a nightt... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!