print("Hello! My name is Python. Let's get to know each other!")
name = input("What's your name? ")
print("Nice to meet you, " + name + "!")
age = input("How old are you? ")
print("Wow, " + age + " - that's great!")
hobby = input("What's your hobby? ")
print("Oh, " + hobby + " sounds interesting!")
color = input("What's your favorite color? ")
print("Nice choice - " + color + "!")
food = input("What's your favorite food? ")
print("I like " + food + " too!")
animal = input("What's your favorite animal? ")
print("Great choice - " + animal + "!")
print("Well, it was nice chatting with you. Goodbye, " + name + "!")
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
print("Hello! My name is Python. Let's get to know each other!")
name = input("What's your name? ")
print("Nice to meet you, " + name + "!")
age = input("How old are you? ")
print("Wow, " + age + " - that's great!")
hobby = input("What's your hobby? ")
print("Oh, " + hobby + " sounds interesting!")
color = input("What's your favorite color? ")
print("Nice choice - " + color + "!")
food = input("What's your favorite food? ")
print("I like " + food + " too!")
animal = input("What's your favorite animal? ")
print("Great choice - " + animal + "!")
print("Well, it was nice chatting with you. Goodbye, " + name + "!")