Question: Please create Python _ fun.py file that contains all four functions. Write a function UserInputReturns ( ) that gets a string as input from the
Please create Pythonfun.py file that contains all four functions.
Write a function UserInputReturns that gets a string as input from the user and
returns a message.
Write a function ParameterReturns that gets a string as input in its parameter and
returns a message.
Write a function UserInputPrints that gets a string as input from the user and prints a
message.
Write a function ParameterPrints that gets a string as input in its parameter and
prints a message.
All functions use string methods to either examine or transform the string.
The code I am using:
def UserInputReturns:
userinput inputPlease enter a string:
return fYou entered userinput.upper
def ParameterReturnsinputstring:
return fThe reversed input is: inputstring::
def UserInputPrints:
userinput inputPlease enter a string:
printfYou entered: userinput.lower
def ParameterPrintsinputstring:
printfThe length of your input is: leninputstring
The code I am currently using is not working with the autograder.
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
