class Solution: """ @param character: a character @return: a character """ def lowercaseToUppercase(self, character): return character.upper() if __name__ == "__main__": a = input() so = Solution() print(so.lowercaseToUppercase(a))
测试结果
2024-01-07 15:10:46
class Solution: """ @param character: a character @return: a character """ def lowercaseToUppercase(self, character): return character.upper() if __name__ == "__main__": a = input() so = Solution() print(so.lowercaseToUppercase(a))
测试结果