Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions Madlibs.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
##############################################
## MAD LIBS GAME
## The purpose of the following code
## is to create a fully functional
## MAD LIBS game.
##
## Hope you enjoy :)
##
##############################################

NOUN = str(input("Please enter a noun): "))

ADJ = str(input("Please enter an adjective): "))

VERB = str(input("Please enter a verb): "))

NOUN2 = str(input("Please enter a noun): "))

print (NOUN, VERB)

print ("to play outside every")

print(ADJ, NOUN2)

14 changes: 12 additions & 2 deletions TURTLE.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,37 @@
#===10/29/25====#
#################



# Concentric circles
import turtle

# Named constants
NUM_CIRCLES = 20
STARTING_RADIUS = 20
OFFSET = 10
ANIMATION_SPEED = 0

# Setup the turtle.
turtle.speed(ANIMATION_SPEED)
turtle.hideturtle()

# Set the radius of the first circle
radius = STARTING_RADIUS

# Draw the circles.
for count in range(NUM_CIRCLES):

# Draw the circle.
turtle.circle(radius)

# Get the coordinates for the next circle.
x = turtle.xcor()
y = turtle.ycor() - OFFSET

# Calculate the radius for the next circle.
radius = radius + OFFSET

# Position the turtle for the next circle.
turtle.penup()
turtle.goto(x,y)
turtle.goto(x, y)
turtle.pendown()
Loading