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
16 changes: 16 additions & 0 deletions Rifleman.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
######### RIFLEMAN? ##########
## Objective: Ask (user) ##
## are we going to watch ##
## Rifleman? ##
##--------------------------##
## Answers accepted: ##
## Yes/No ##
##==========================##
## Else: Sorry, invalid ##
## answer. ##
##############################

#CODE BELOW

print("finish code tomorrow")
#--
39 changes: 39 additions & 0 deletions TURTLE.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
### TURTLE.py ###
#-----Set 1-----#
#===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.pendown()
10 changes: 10 additions & 0 deletions continue-example.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
### continue-example.py ###
#DWN / 10/30/25 #
#=========================#

n = 0
while n < 10:
n += 1
if n % 3 == 0:
continue
print(n)
Loading