Computing cable bills using F(x)'s This is a school project that I am turning in late. The prof suggested that i somehow prove myself by improving upon the basic code. This is really tough to do for someone who is just starting to learn to code. 

Is there something I can do to: 


add onto the code (have it do or ask something different)?
make it even more simple than it probably already is (unlikely)?
though it's counter intuitive, make it more complicated by adding a function or something similar? 


I have really looked at this and now that I've actually coded it, I don't know how to improve it.

print("This program computes a cable bill") 
account = input("Enter account number: ") 
cust_type = input("Enter customer type: R (Residental) or B (Business): ") 

def residential(): 
 premium_channels = int(input("Enter number of premium channels used: ")) 
 processing_fee = 4.50 
 basic_service_fee = 20.50 
 premium_channel_fee = 7.50 
 amount = processing_fee + basic_service_fee + (premium_channels * premium_channel_fee) 
 return (amount) 

def business(): 
 basic_connections = int(input("Enter number of basic service connections: ")) 
 premium_channels = int(input("Enter number of premium channels used: ")) 
 processing_fee = 15.0 
 basic_service_fee = 75.0 
 preimum_channel_fee = 50.0 
 if (basic_connections &lt;= 10): 
     amount = processing_fee + basic_service_fee + (premium_channels * preimum_channel_fee) 
 else: 
     amount = processing_fee + basic_service_fee + ((basic_connections - 10) * 5) + (premium_channels * 
preimum_channel_fee) 
 return (amount)

if (cust_type == "R"): 
    bill_amount = residential() 
else: 
    bill_amount = business() 

print("Account number: ", account) 
print("Amount due: ", bill_amount)
Placing all the input and output in a separate function would improve the structure of program.
Computing the bill follows the exact same logic for both types of connection; they are just using a different price list. You could use a data structure to represent the price list, and pass it to the billing function as a parameter.