0 out of 464 challenges solved
Write a Python function `convert_to_uppercase` that takes a single string as input and returns the string converted to uppercase. #### Example Usage: ```python [main.nopy] convert_to_uppercase("hello") # Output: "HELLO" convert_to_uppercase("Python") # Output: "PYTHON" convert_to_uppercase("123abc") # Output: "123ABC" ``` #### Requirements: - Use the built-in string method to perform the conversion. - Ensure the function handles empty strings gracefully.
def convert_to_uppercase(input_string): """ Convert the given string to uppercase. Args: input_string (str): The string to convert. Returns: str: The uppercase version of the input string. """ # Replace the following line with your implementation pass