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 Mon Sep 21 15:53:25 2020.
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