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 Python_fun.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():
user_input = input("Please enter a string: ")
return f"You entered {user_input.upper()}"
def ParameterReturns(input_string):
return f"The reversed input is: {input_string[::-1]}"
def UserInputPrints():
user_input = input("Please enter a string: ")
print(f"You entered: {user_input.lower()}")
def ParameterPrints(input_string):
print(f"The length of your input is: {len(input_string)}")
The code I am currently using is not working with the autograder.
Please create Python _ fun.py file that contains

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!