Languages
[Edit]
EN

Python - uppercase string

0 points
Created by:
Admin Dirask Community
1270

In this article, we would like to show you how to uppercase the string in Python.

Quick solution:

text = "abc"
print(text.upper())  # ABC

 

Practical example

In this example, we use upper() method to uppercase the string.

text = "abc"
print(text.upper())  # ABC

Output:

ABC

References

Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join