Skip to content

Commit 206f9b6

Browse files
committed
Add more text output transformations
1 parent af7657b commit 206f9b6

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
@@ -5,4 +5,6 @@
55
print('Length: ', len(input_text))#print length of entered text
66
print('Uppercase output: ', input_text.upper())#print text in uppercase
77
print('Lowercase output: ', input_text.lower())#print text in lowercase
8-
print('Titlecase output: ', input_text.title())#print text in titlecase
8+
print('Titlecase output: ', input_text.title())#print text in titlecase
9+
print('Capitalized output: ', input_text.capitalize())#print text in capitalized
10+
print('Reversed output: ', input_text[::-1])#print text in reverse

0 commit comments

Comments
 (0)