You are on page 1of 2

name=input(“What is your name?

”)

greeting=”nice to meet you”

print(greeting+name)

print(My name is Pedro!)

game=input(“What is your favourite game?”)

if game==”fortnite”:
print(“SAME!!”)

else:
print(game+”is a good game but I prefer fortnite”)

weather=input(“What is the weather like?:”)

if weather==”raining”:
print(“Take an umbrella”)

elif weather==”cold”:
print(“Take a coat!”)

elif weather==”sunny”:
print(“Take sunglasses”)

else:
print(“Have a good day, whatever the weather!”)

school=input(“How is school?:)

if school==”good”:

print(“good good”)

elif school==”bad”:

print(“oh no”)

else:

print(“cool”)

main=int(input(”What is the cost of your main meal?”))

juice=int(input(“What is the cost of your juice?”))

fruit=float(input(“What is the cost of your fruit?))

total=main+juice+fruit

print(“Total for lunch:”,total)

You might also like