def toCapitalLetters(a): x = a.upper() print(x) i = input('Enter any string: ') toCapitalLetters(i)