Skip to content

Commit 61ebcf4

Browse files
committed
Add text length of entered text
1 parent 3fb5452 commit 61ebcf4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#a simple Python app
22
print('This is a simple Python app.')#print simple text
33
input_text = input('Enter text: ')#prompt text for input
4-
print(input_text)#print variable to entered text input
4+
print(input_text)#print variable to entered text input
5+
print('Length: ', len(input_text))#print length of entered text

0 commit comments

Comments
 (0)