I’m trying to convert a input parameter to capital case.
text = input("write anything you wish you change to capital case: ")
def case_change():
text.upper()
print(case_change(text))
>Solution :
The answer to your question is:
#your text
text = input("write anything you wish you change to capital case: ")
#function
def case_change(text):
return text.upper()
your_uppercase = case_change(text)
#print
print(("uppercase: "+upper_case)