InterviewSolution
Saved Bookmarks
| 1. |
Please answer this...I will mark brainliest if the solution is appropriate . |
|
Answer» ming language:-PythonAnswer:-patient_name = INPUT('Enter your name: ')days = input('Enter number of days: ')type = input('There are TWO patient types. Enter 1 for OPD and 2 for Private: ')if int(type) == 1: print('Daily CHARGE: 300') total_bill1 = 300 * int(days) print('Total bill: ') print(total_bill1)else: print('Daily charge: 2000') total_bill2 = 2000 * int(days) print('Total bill: ') print(total_bill2) |
|