Skip to content

Commit

Permalink
Deployed e24474b with MkDocs version: 1.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Unknown committed Jun 16, 2024
0 parents commit cb19fcc
Show file tree
Hide file tree
Showing 97 changed files with 46,305 additions and 0 deletions.
Empty file added .nojekyll
Empty file.
1,858 changes: 1,858 additions & 0 deletions 0-Getting-Started/00_language/index.html

Large diffs are not rendered by default.

1,971 changes: 1,971 additions & 0 deletions 0-Getting-Started/01_programming/index.html

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions 1-Fortune-Telling/fortune/fortune_0.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
"""fortune_0
Tell my fortune, oh great Pythia
"""

import random

fortunes = [
"'Tis certain",
"Yes, indubitubly.",
"Most likely",
"Very doubtful",
"My sources say no",
"Reply hazy, try again.",
"Um, you don't want to know"
]

print(random.choice(fortunes))
19 changes: 19 additions & 0 deletions 1-Fortune-Telling/fortune/fortune_1.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
"""fortune_1
Tell my fortune, oh great Pythia
"""

import random

fortunes = [
"'Tis certain",
"Yes, indubitubly.",
"Most likely",
"Very doubtful",
"My sources say no",
"Reply hazy, try again.",
"Um, you don't want to know"
]

input("What answers do you seek, child?\n")
print(random.choice(fortunes))
23 changes: 23 additions & 0 deletions 1-Fortune-Telling/fortune/fortune_2.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
"""fortune_2
Tell my fortune, oh great Pythia
"""

import random

fortunes = [
"'Tis certain",
"Yes, indubitubly.",
"Most likely",
"Very doubtful",
"My sources say no",
"Reply hazy, try again.",
"Um, you don't want to know"
]

prompt = input("What answers do you seek, child?\n")

if prompt.endswith("?"):
print(random.choice(fortunes))
else:
print("That is a statement.")
27 changes: 27 additions & 0 deletions 1-Fortune-Telling/fortune/fortune_3.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
"""fortune_3
Tell my fortune, oh great Pythia
"""

import random

fortunes = [
"'Tis certain",
"Yes, indubitubly.",
"Most likely",
"Very doubtful",
"My sources say no",
"Reply hazy, try again.",
"Um, you don't want to know"
]

while True:
prompt = input("What answers do you seek, child?\n")
if prompt.endswith("?"):
print(random.choice(fortunes))
elif prompt == "Goodbye":
print("Until next time 🐍")
break
else:
print("That is a statement.")
print()
Loading

0 comments on commit cb19fcc

Please sign in to comment.