r/pythonhelp • u/NoButterfly4448 • Apr 18 '22
Assignment advice
Hi! I have been having trouble with this assignment problem. If anyone can help me with this I would greatly appreciate it.
The program says to write a function that accepts a string of arbitrary length as an argument and it should print out a list where each character in the original string is repeated and capitalized.
Call the function upper(my_string)
Example upper(“hi”)
[‘HH’, ‘II’]
2
Upvotes
2
u/carcigenicate Apr 18 '22
What have you tried? What specifically do you need help with?