Question: modify the original function by adding a parameters to the function header, use that parameter in the function and call the function explicitly from main
modify the original function by adding a parameters to the function header, use that parameter in the function and call the function explicitly from main with three different set of values.
# define function
def multiplyfourq:
Returns the numerical value of q when q is an integer or float"""
return q
def main:
This is whereyou define your variables and do input and output"""
anumintinputEnter a number:"
printYour number multiplied four is multiplyfouranum
# call main functionshould be the last statement in your file
main
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
