Skip to content

Commit f2d617a

Browse files
committed
Add Pythag
1 parent fef0383 commit f2d617a

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

Magic8Ball.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Authour: azmathias Stuperuser Ltd
2+
# Purpose: Magic 8 Ball
3+
# Simulate a magic 8-ball.
4+
# Allow the user to enter their question.
5+
# Display an in progress message(i.e. "thinking").
6+
# Create 20 responses, and show a random response.
7+
# Allow the user to ask another question or quit.
8+
# Bonus:
9+
# Add a gui.
10+
# It must have box for users to enter the question.
11+
# It must have at least 4 buttons:
12+
# ask
13+
# clear (the text box)
14+
# play again
15+
# quit (this must close the window)
16+

PythagoreanTriplesChecker.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Authour: azmathias Stuperuser Ltd
2+
# Purpose: Pythagorean Triples Checker
3+
# Allows the user to input the sides of any triangle in any order.
4+
# Return whether the triangle is a Pythagorean Triple or not.
5+
# Loop the program so the user can use it more than once without having to restart the program.

0 commit comments

Comments
 (0)