def travel_Cost(self):
    if (self.boarding_Combo.get() == 'Select Boarding'):
        messagebox.showerror('Unknown Boarding', ' Please select your Boarding')
        return
    elif (self.des_Combo.get() == 'Select Destination'):
        messagebox.showerror('Unknown Destination', 'Please Select your Destination')
        return
    elif (self.no_of_Adult.get() == 'Select Adult(s)'):
        messagebox.showerror('No Adult Selected', ' Please select Adult(s)')
        return
    elif (self.no_of_Child.get() == 'Select Child(s)'):
        messagebox.showerror('No Child Selected', ' Please select Child(s)')
        return
    elif (self.boarding_Combo.get() == self.des_Combo.get()):
        messagebox.showerror('Error', 'Boarding and Destination cannot be same!')
        return
    self.from2.configure(text=('' + self.boarding_Combo.get()))
    self.to2.configure(text=('' + self.des_Combo.get()))
    self.no_of_Adults2.configure(text=('' + self.no_of_Adult.get()))
    self.no_of_Child2.configure(text=('' + self.no_of_Child.get()))
    cost = 0
    calculated_cost = float()
    if (self.no_of_Adult.get() == '0'):
        calculated_cost = (cost + 0)
    elif (self.no_of_Adult.get() == '1'):
        calculated_cost = (cost + 1)
    elif (self.no_of_Adult.get() == '2'):
        calculated_cost = (cost + 2)
    elif (self.no_of_Adult.get() == '3'):
        calculated_cost = (cost + 3)
    aticket = calculated_cost
    child_cost = 0
    c_cost = float()
    if (self.no_of_Child.get() == '0'):
        c_cost = (child_cost + 0)
    elif (self.no_of_Child.get() == '1'):
        c_cost = (child_cost + (1 / 2))
    elif (self.no_of_Child.get() == '2'):
        c_cost = (child_cost + (2 / 2))
    elif (self.no_of_Child.get() == '3'):
        c_cost = (child_cost + (3 / 2))
    cticket = c_cost
    passenger = (cticket + aticket)
    fare = 0
    t_fare = float()
    if ((self.boarding_Combo.get() == 'MG Road') and (self.des_Combo.get() == 'Koramangala')):
        t_fare = (fare + 25)
    elif ((self.boarding_Combo.get() == 'HSR Layout') and (self.des_Combo.get() == 'Koramangala')):
        t_fare = (fare + 22)
    elif ((self.boarding_Combo.get() == 'Sarjapur road') and (self.des_Combo.get() == 'Koramangala')):
        t_fare = (fare + 20)
    elif ((self.boarding_Combo.get() == 'Koramangala') and (self.des_Combo.get() == 'HSR Layout')):
        t_fare = (fare + 17)
    elif ((self.boarding_Combo.get() == 'Sarjapur road') and (self.des_Combo.get() == 'HSR Layout')):
        t_fare = (fare + 15)
    elif ((self.boarding_Combo.get() == 'MG Road') and (self.des_Combo.get() == 'HSR Layout')):
        t_fare = (fare + 11)
    elif ((self.boarding_Combo.get() == 'Koramangala') and (self.des_Combo.get() == 'Sarjapur road')):
        t_fare = (fare + 9)
    elif ((self.boarding_Combo.get() == 'HSR Layout') and (self.des_Combo.get() == 'Sarjapur road')):
        t_fare = (fare + 22)
    elif ((self.boarding_Combo.get() == 'MG Road') and (self.des_Combo.get() == 'Sarjapur road')):
        t_fare = (fare + 20)
    elif ((self.boarding_Combo.get() == 'Sarjapur road') and (self.des_Combo.get() == 'MG Road')):
        t_fare = (fare + 17)
    elif ((self.boarding_Combo.get() == 'HSR Layout') and (self.des_Combo.get() == 'MG Road')):
        t_fare = (fare + 15)
    elif ((self.boarding_Combo.get() == 'Koramangala') and (self.des_Combo.get() == 'MG Road')):
        t_fare = (fare + 11)
    total_fare = t_fare
    global final_price
    final_price = (total_fare * passenger)
    self.tCost2.configure(text=final_price)
    return
def travel_Cost(self):
    if (self.boarding_Combo.get() == 'Select Boarding'):
        messagebox.showerror('Unknown Boarding', ' Please select your Boarding')
        return
    elif (self.des_Combo.get() == 'Select Destination'):
        messagebox.showerror('Unknown Destination', 'Please Select your Destination')
        return
    elif (self.no_of_Adult.get() == 'Select Adult(s)'):
        messagebox.showerror('No Adult Selected', ' Please select Adult(s)')
        return
    elif (self.no_of_Child.get() == 'Select Child(s)'):
        messagebox.showerror('No Child Selected', ' Please select Child(s)')
        return
    elif (self.boarding_Combo.get() == self.des_Combo.get()):
        messagebox.showerror('Error', 'Boarding and Destination cannot be same!')
        return
    self.from2.configure(text=( + self.boarding_Combo.get()))
    self.to2.configure(text=( + self.des_Combo.get()))
    self.no_of_Adults2.configure(text=( + self.no_of_Adult.get()))
    self.no_of_Child2.configure(text=( + self.no_of_Child.get()))
    cost = 0
    calculated_cost = float()
    if (self.no_of_Adult.get() == '0'):
        calculated_cost = (cost + 0)
    elif (self.no_of_Adult.get() == '1'):
        calculated_cost = (cost + 1)
    elif (self.no_of_Adult.get() == '2'):
        calculated_cost = (cost + 2)
    elif (self.no_of_Adult.get() == '3'):
        calculated_cost = (cost + 3)
    aticket = calculated_cost
    child_cost = 0
    c_cost = float()
    if (self.no_of_Child.get() == '0'):
        c_cost = (child_cost + 0)
    elif (self.no_of_Child.get() == '1'):
        c_cost = (child_cost + (1 / 2))
    elif (self.no_of_Child.get() == '2'):
        c_cost = (child_cost + (2 / 2))
    elif (self.no_of_Child.get() == '3'):
        c_cost = (child_cost + (3 / 2))
    cticket = c_cost
    passenger = (cticket + aticket)
    fare = 0
    t_fare = float()
    if ((self.boarding_Combo.get() == 'MG Road') and (self.des_Combo.get() == 'Koramangala')):
        t_fare = (fare + 25)
    elif ((self.boarding_Combo.get() == 'HSR Layout') and (self.des_Combo.get() == 'Koramangala')):
        t_fare = (fare + 22)
    elif ((self.boarding_Combo.get() == 'Sarjapur road') and (self.des_Combo.get() == 'Koramangala')):
        t_fare = (fare + 20)
    elif ((self.boarding_Combo.get() == 'Koramangala') and (self.des_Combo.get() == 'HSR Layout')):
        t_fare = (fare + 17)
    elif ((self.boarding_Combo.get() == 'Sarjapur road') and (self.des_Combo.get() == 'HSR Layout')):
        t_fare = (fare + 15)
    elif ((self.boarding_Combo.get() == 'MG Road') and (self.des_Combo.get() == 'HSR Layout')):
        t_fare = (fare + 11)
    elif ((self.boarding_Combo.get() == 'Koramangala') and (self.des_Combo.get() == 'Sarjapur road')):
        t_fare = (fare + 9)
    elif ((self.boarding_Combo.get() == 'HSR Layout') and (self.des_Combo.get() == 'Sarjapur road')):
        t_fare = (fare + 22)
    elif ((self.boarding_Combo.get() == 'MG Road') and (self.des_Combo.get() == 'Sarjapur road')):
        t_fare = (fare + 20)
    elif ((self.boarding_Combo.get() == 'Sarjapur road') and (self.des_Combo.get() == 'MG Road')):
        t_fare = (fare + 17)
    elif ((self.boarding_Combo.get() == 'HSR Layout') and (self.des_Combo.get() == 'MG Road')):
        t_fare = (fare + 15)
    elif ((self.boarding_Combo.get() == 'Koramangala') and (self.des_Combo.get() == 'MG Road')):
        t_fare = (fare + 11)
    total_fare = t_fare
    global final_price
    final_price = (total_fare * passenger)
    self.tCost2.configure(text=final_price)
    return