So basically I'm trying to add a conditional statement, a simple yes or no one. When this function runs it is expected to skip over the inputs if it evaluates to false but it runs it anyways regardless rather it's false or true. Whats?!?!
def Add_Expense_Owedbill(bill,expense):
billinfo = []
if bill == "y" or "Y":
name = input("name "),
date = input("date "),
past_due = input("past due "),
total = input("total "),
address= input("address if one "),
phone = input("phone number if availiable ")
billinfo.append(name)
billinfo.append(date)1
billinfo.append(past_due)
billinfo.append(total)
billinfo.append(address)
billinfo.append(phone)
else:
pass
Also... if you have any advice on how I can improve my code to make it more concise and efficient that would be great!