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)

4 changes: 1 addition & 3 deletions continue-example.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
### continue-example.py ###
## The3DP / 10/30/25 ##
#DWN / 10/30/25 #
#=========================#

n = 0
Expand All @@ -8,5 +8,3 @@
if n % 3 == 0:
continue
print(n)

#NOTE: Will finish by 1/11/25
57 changes: 57 additions & 0 deletions section3-week10-daren-neyland-multiplication-table.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
##################################################################
# Daren Neyland ##
# daren@markandtraci.com ##
# Intro to Python, Section 3 ##
# Version 1.0 ##
# section3-week10-daren-neyland-multiplication-table.py ##
# 9/4/2025 ##
# This program qill quickly access ##
# how quickly a bucket will overflow. ##
##################################################################

##################### OBJECTIVE #################################
## Write a program that uses nested loops to print
## a multiplication grid from 1 to 10.
##
## The outer loop should iterate through
## numbers from 1 to 10 (the rows).
##
## The inner loop should iterate through
## 1 to 10 (the columns).
##
## Print the product in a formatted grid.
##
## Example output:
## 1 2 3 4 5 6 7 8 9 10
## 2 4 6 8 10 12 14 16 18 20
## 3 6 9 12 15 18 21 24 27 30
## …
## 10 20 30 40 50 60 70 80 90 100
##################################################################



user_input = input("Would you like too see the multiplication table? (y or n) ")

if user_input == 'n':
print("Okay")
if user_input == 'y':
print("Great!")
print("Running multiplication table: ")
for a in range(1, 11, 1): #1-10
for b in range(1, 10, 1): #1-9
print("===", a, b, "===")

mult_put = input("Would you like too see them multiplied? (y or n) ")

if mult_put == 'y':
print("Awesome!")
print("===", a * b, "===")
if mult_put == 'n':
print("Okay... ")