forked from data-bootcamp-v4/lab-python-data-types-extra
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathextra.py
More file actions
16 lines (16 loc) · 749 Bytes
/
extra.py
File metadata and controls
16 lines (16 loc) · 749 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Your code here
# name, age, adress, salary and expenses = input
# calculation of how much money they will have left after expenses
# store age, salary and expeses are stored as integers or floats, round the remining money to one decimal
# remaining money <= 500
# print(""*name*, who is *age* years old, and lives in *address* has *remaining_salary* dollars left from her salary after expenses. It is *is_salary_good* that she has more than $500 left."")
name = input(" Name: ")
print = ("Name: ", name)
age = input("Age: ")
print("Age recorded:", age)
address = input("Address: ")
print("Address recorded:", address)
salary = input("Salary: ")
print("Salary recorded:", salary)
expenses = input("Expenses: ")
print("Expenses recorded:", expenses)