Name | .upper() |
||
---|---|---|---|
Examples |
message = 'Alpha bravo charlie delta' uppercase_message = message.upper() print(uppercase_message) # prints "ALPHA BRAVO CHARLIE DELTA" | ||
Description | Returns a copy of a string, with all lowercase characters converted to uppercase. | ||
Syntax | str.upper() | ||
Parameters |
| ||
Related |
string String Formatting .find() .strip() .join() .replace() .lower() |
Updated on Tue Feb 27 14:07:12 2024.
If you see any errors or have comments, please let us know.
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License