#!/usr/bin/python3 # -*- coding: utf-8 -*- # Left must be a variable, right an arithmetic expression. # Arithmetic operators: +, -, *, /, % # An assignment statement’s right side can be an arithmetic expression: # Ex: x = (3 * y) + (z / 2). # This over-simplified program below computes the total cost of a loan, # given the loan amount and interest. loan_amount: float = float(input()) interest_rate: float = float(input()) total_cost: float = loan_amount + (loan_amount * interest_rate) print(total_cost)