Automate Cybersecurity Tasks with Python | Weekly challenge 3 Quiz |
What is the result when .upper() is applied to a string?
- The character that appears most frequently in the string is extracted from it and returned.
- The value of the string is reassigned to the value of the string in the line preceding it.
- The value of the string is reassigned to contain all uppercase letters.
- A copy of the string is returned with all uppercase letters.