Answer:
current_price = int(input("Enter the current price: "))
last_months_price = int(input("Enter the last month's price: "))
print("This house is $" + str(current_price))
print("The change is $" + str(current_price - last_months_price) + " since last month")
print("The estimated monthly mortgage is ${:.2f}".format((current_price * 0.051) / 12))
Explanation:
Ask the user to enter the current price and last month's price
Print the current price
Print the change in the price, subtract the last month's price from the current price
Print the estimated monthly mortgage, use the given formula to calculate, in required format
Answer:
Enter a number: 7
Enter a number: 10
Traceback (most recent call last):
File "main.py", line 3, in <module>
print (numi + num2)
NameError: name 'numi' is not defined
Explanation:
The typo in the print statement causes a run-time error, where obviously num1+num2 was expected, and an output of 17.
When a formula contains the address of a cell, it is called a c<span>ell reference.
hope this helps!</span>
Question:
Which of these field types allows multiple, non-exclusive options?
A. multi-part
B. checkbox
C. text
D. radio button
E. button
Answer:
The correct option is B) Checkboxes
Explanation:
Field types is a terminology often associated with Database Management.
A field type is often found in a data collection apparatus such a form. It's inherent quality or nature will determine the kind of data that it can collect.
Some field types allow for exclusive options. That is, in some data field types, it's impossible to select more than one option.
For example, a Button field type can only collect one type of value.
A Checkbox on the other can be configured to allow for multiple selections which may or may not be exclusive.
When working with Microsoft Access, for instance, you are required to select the name of the <em>field </em>and define the type of <em>field data.</em>
<em />
Cheers!