Question: Define a function calc_num() that has one parameter and returns the parameter minus 6.3. For example: If the input is 7.5, then the output is:
Define a function calc_num() that has one parameter and returns the parameter minus 6.3. For example: If the input is 7.5, then the output is: 1.20 ''' Your code goes here ''' input_num = float(input()) print(f'{calc_num(input_num):.2f}')
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
