Here's the coding I've done:
from math import *
from time import sleep
def vacation():
print("Time to plan for a vacation.")
sleep(1)
dates = input("Let's start with the dates. What day are you getting there, and what day are you leaving? For formatting, you can use month/day-month/day.")
sleep(1)
location = input("Now where are you traveling to?")
sleep(1)
ticketCost = input("What is the cost of a two-way ticket to " + location + " and back?")
sleep(1)
dayOne = input("What is the cost for at least two meals on the first day?")
dayTwo = input("What is the cost for at least two meals on the second day?")
sleep(1)
hotel = input("What is the name of the hotel you are staying at?")
hotelCost = input("What is the cost for one night at (the) " + hotel + "?")
sleep(1)
print("Vacation! Going to " + location + " for " + dates + ".")
print("-------------------------------")
print("Total cost of the trip:")
print("-------------------------------")
sleep(1)
print("Plane Ticket: " + ticketCost)
sleep(1)
print("Estimate Cost of Meals (Day One): " + dayOne + ".")
sleep(1)
print("Estimate Cost of Meals (Day Two): " + dayTwo + ".")
sleep(1)
print("One Night at (the) " + hotel + ": " + hotelCost + ".")
sleep(1)
**total = hotelCost + dayOne + dayTwo + ticketCost**
**totalExtra = total + 50
print("The total is: " + total + ".")**
sleep(1)
print("Make sure you leave some room for souvenirs, pay tolls, and other expenses. Additional $50 is added for this, and that total is: " + totalExtra + ".")
print("-------------------------------")
sleep(1)
print("Enjoy your vacation!")
vacation()
The problem areas are in bold. I do not know what to do, I've tried using int(), str(), and etc in multiple places. The total shouldn't be gibberish (ie, "843290842"). Am I missing something?