mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-23 07:29:02 -08:00
Started python function layout
Totally not doing this through github.com
This commit is contained in:
@@ -1 +1,13 @@
|
||||
|
||||
def print_instructions():
|
||||
print("This is where you will find instructions")
|
||||
|
||||
def play_game():
|
||||
print("Lets play a game")
|
||||
|
||||
def main():
|
||||
if input("Do you want instrunctions?").lower().startswith("y"):
|
||||
print_instructions()
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user