2026fa_cse160/lecture20261117/if/if06.py
2026-11-17 13:24:13 -05:00

9 lines
249 B
Python

# consider the following line from the autoloan program:
principal = float(input("Enter a value for the principal: "))
print(f"You entered the value {principal}")
# Create an if statement to limit the loan principal to > $1000 and < $120,000.