Skip to content

Commit 4c79e4e

Browse files
committed
Add uppercase and lowercase text output
1 parent 61ebcf4 commit 4c79e4e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@
22
print('This is a simple Python app.')#print simple text
33
input_text = input('Enter text: ')#prompt text for input
44
print(input_text)#print variable to entered text input
5-
print('Length: ', len(input_text))#print length of entered text
5+
print('Length: ', len(input_text))#print length of entered text
6+
print('Uppercase output: ', input_text.upper())#print text in uppercase
7+
print('Lowercase output: ', input_text.lower())#print text in lowercase

0 commit comments

Comments
 (0)