# Cis108 07/03/2014

# The PCCC Palace Hotel - Final Bill
# To write a bill per party regarding there stay at the Palace Hotel including there billing invoice

# Ask the user there name and number of days they will be staying in the Palace
customer = input ("Enter customers name : ")

days = input ("Enter the number of days in the hotel : ")

#List all the options of RoomUsed Rates and define which one the guest chooses

print("Press 1 for Single room One bed - $225.00")
print("Press 2 for Family room double bed - $325.00")
print("Press 3 for Suite $ 550.00")

#Explain to the computer which choice the user wants as for the RoomUsed options

#Ask the user which option they want - single,family,or suite

RoomUsed= input("Please enter which Room you would like to stay in ")

RoomUsed = []
if RoomUsed == '1':
RoomUsed == 225
if RoomUsed == '2':
RoomUsed == 325
if RoomUsed == '3':
RoomUsed == 550

print("Press 0 for No Internet Access")
print("Press 1 for Wireless internet access 9.95")
print("Press 2 for Wired internet access for 5.95")

InternetAccess= input("Would you like access to the Internet ? ")

InternetAccess = []
if InternetAccess == '0':
InternetAccess == 0
if InternetAccess == '1':
InternetAccess == 9.95
if InternetAccess == '2':
InternetAccess == 5.95

print("Press 0 for no tv")
print("Press 1 for cable tv 9.95")
print("Press 2 for basic channels 2.95")

Costoftv= input("Would you like to use the TV ? ")

Costoftv = []
if Costoftv == '0':
Costoftv == 0
if Costoftv == '1':
Costoftv == 9.95
if Costoftv == '2':
Costoftv == 2.95

#I have taken all the users specific input from there specific order

print("\r\n")

# Performing a line break to clean up the seperation between lines

print("\t\t\t\t\t\t Invoice")
print("\t\tPCCC Palace Hotel")
print(customer, "'s Billing Statement")
print("Number of Days in Hotel: ",days)
print("Room Charges: ", RoomUsed)
print("Internet Charges: ", InternetAccess)
print("Television Charges: ", Costoftv)
totalcharges = print("Total Charges: ", RoomUsed + InternetAccess + Costoftv)
localtaxes = print("Local Taxes: ",int(totalcharges * float(.035)))
print("\t\tTotal Due\t\t\t", totalcharges + localtaxes)
print("\t\tThank You For Using PCCC Palace Hotel. Hope To See You Again.")

# Performing a line break to clean up the seperation between lines

print("PCCC Palace Hotel Invoice")

done = input ( "Please press the Enter key to close the window")

The issue im having is with creating the invoice. The total charges and local taxes continues to error out

To write a bill for a customer's stay at the Palace Hotel, you can follow these steps:

1. Ask the customer for their name and the number of days they will be staying at the hotel.
- To do this, you can use the `input` function in Python to prompt the user for input and store their responses in variables (`customer` and `days`).

2. Display the options for the different types of rooms available and ask the customer to choose one.
- You can use the `print` function to display the options.
- Then, use the `input` function to get the customer's choice and store it in a variable (`RoomUsed`).
- Based on the customer's choice, you can define the corresponding rates for the chosen room type.

3. Display the options for internet access and ask the customer if they would like to have access.
- Again, use the `print` function to display the options.
- Use the `input` function to get the customer's choice and store it in a variable (`InternetAccess`).
- Based on the customer's choice, define the corresponding charges for internet access.

4. Display the options for TV usage and ask the customer if they would like to use the TV.
- Use the `print` function to display the options.
- Use the `input` function to get the customer's choice and store it in a variable (`Costoftv`).
- Based on the customer's choice, define the corresponding charges for TV usage.

5. Calculate the total charges by adding up the room charges, internet charges, and TV charges.
- You can use the `sum` function to calculate the total charges.

6. Calculate the local taxes by multiplying the total charges by a tax rate (e.g., 3.5%).
- Use the `float` function to convert the tax rate to a decimal.

7. Print the final bill/invoice by displaying the customer's name, number of days in the hotel, and the breakdown of charges.
- Use the `print` function to display the bill/invoice with the necessary details and calculations.

8. Display a closing message and wait for the user to press the Enter key to close the program.
- You can use the `input` function to pause the program and wait for the user to press the Enter key.

Note: The provided code contains some errors, such as using the comparison operator `==` instead of the assignment operator `=` for variable assignment. Make sure to fix these errors for the code to work correctly.