# Arup Guha
# 10/7/2020
# Solutions to Fall 2020 COP 2930 Mid Term Exam Part A

# Question 1 - method 1
print("hello")
print("bye")

# Question 1 - method 2
print("hello\nbye")

# Question 1 - method 3
print("hello","bye", sep = "\n")

# Question 2
price = float(input("How much is your item w/o tax?\n"))
print("With tax, you will pay",price*1.2,"Euros.")

# Question 4
price = float(input("How much is your item w/o tax?\n"))
essential = input("Is the item essential?\n")

# Essential case.
if essential == "yes":
    print("The total cost is",price, "Euros.")

# Taxed case.
else:
    print("With tax, you will pay",price*1.2,"Euros.")
