<reponame>MichaelsCode/python<gh_stars>0
books = [
    "Learning Python: Powerful Object-Oriented Programming - <NAME>",
    "Automate the Boring Stuff with Python: Practical Programming for Total Beginners - <NAME>",
    "Python for Data Analysis - <NAME>",
    "Fluent Python: Clear, Concise, and Effective Programming - <NAME>",
    "Python for Kids: A Playful Introduction To Programming - <NAME>",
    "Hello Web App: Learn How to Build a Web App - <NAME>",
]

video_games = [
    "The Legend of Zelda: Breath of the Wild",
    "Splatoon 2",
    "Super M<NAME>"
]

print("Suggested gift: {}".format(books[0]))

print("Books:")
for book in books:
    if book.startswith("P"):
        print(" * " + book)


def display_wishlist(display_name, wishes):
    items = wishes.copy()
    print(display_name + ":")
    suggested_gift = wishes.pop(0)
    print("=======>", suggested_gift, "<=======")
    for item in items:
        print("* " + item)
    print()


display_wishlist("Books", books)
display_wishlist("Video Games", video_games)

books = [
    "Learning Python: Powerful Object-Oriented Programming - <NAME>",
    "Automate the Boring Stuff with Python: Practical Programming for Total Beginners - <NAME>",
    "Python for Data Analysis - <NAME>",
    "Fluent Python: Clear, Concise, and Effective Programming - <NAME>",
    "Python for Kids: A Playful Introduction To Programming - <NAME>",
    "Hello Web App: Learn How to Build a Web App - <NAME>",
]

video_games = [
    "The Legend of Zelda: Breath of the Wild",
    "Splatoon 2",
    "Super M<NAME>"
]

print("Suggested gift: {}".format(books[0]))

print("Books:")
for book in books:
    if book.startswith("P"):
        print(" * " + book)


def display_wishlist(display_name, wishes):
    items = wishes.copy()
    print(display_name + ":")
    suggested_gift = wishes.pop(0)
    print("=======>", suggested_gift, "<=======")
    for item in items:
        print("* " + item)
    print()


display_wishlist("Books", books)
display_wishlist("Video Games", video_games)