cs50/src6/2/uppercase0.py

8 lines
152 B
Python

# Uppercases string one character at a time
before = input("Before: ")
print("After: ", end="")
for c in before:
print(c.upper(), end="")
print()