This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def print_banner(): | |
print("\n # ######") | |
print(" # ###### # # ##### ## # # # ###### #### # #### # #") | |
print(" # # ## # # # # # # # # # # # # # ## #") | |
print(" # ##### # # # # # # # ###### ##### # # # # # # #") | |
print(" # # # # # # ###### # # # # # ### # # # # # #") | |
print(" # # # ## # # # # # # # # # # # # # ##") | |
print(" ####### ###### # # # # # ###### # # ###### #### # #### # #") | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import random | |
def random_number(): | |
print("\n Type (r) to generate a random number. (0 - 1000)") | |
print(" Type (q) to exit.") | |
answer = input("\n > ") | |
if answer == "r": |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
shopping_list = [] | |
def add_item(): | |
item = input("\n Item to add: ") | |
shopping_list.append(item) | |
print("\n " + item + " has been added.") | |
def remove_item(): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
shiny_pokemon = [] | |
def add_pokemon(): | |
add_mon = input("\n Pokemon to add: ").title() | |
shiny_pokemon.append(add_mon) | |
print("\n " + add_mon + " has been added.") | |
def remove_pokemon(): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def print_banner(): | |
print("\n ######") | |
print(" # # #### # # ###### ##### ###### # #") | |
print(" # # # # # # # # # # # #") | |
print(" ###### # # #### ##### # # ##### ##") | |
print(" # # # # # # # # # ##") | |
print(" # # # # # # # # # # #") | |
print(" # #### # # ###### ##### ###### # #") | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def print_banner(): | |
print("###### # #") | |
print("# # #### # # # # ###### # # # # #### # # ####") | |
print("# # # # ## # # # # # # # # # # ## # # #") | |
print("# # # # # # # #### ##### # ### # # # # # #") | |
print("# # # # # # # # # # # # # # # # # # # ###") | |
print("# # # # # ## # # # # # # # # # ## # #") | |
print("###### #### # # # # ###### # # # #### # # ####") | |