how to make the just thlast letter in a string uppercase python code example
Example 1: how do you change a string to only uppercase in python
original = Hello, World!
#both of these work
upper = original.upper()
upper = upper(original)
Example 2: python method to check for uppercase character
a="DEMO"
print(a.isupper())