Skip to content

Commit 010a063

Browse files
fixed a typo in ques_7
1 parent 73499c7 commit 010a063

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ques_7.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def replace_vowels():
2828

2929
def numofwords():
3030
str = input("Enter the string: ")
31-
str = str.strip + " "
31+
str = str.strip() + " "
3232
count = 0
3333
for i in range(0, len(str), 1):
3434
if str[i] == " ":

0 commit comments

Comments
 (0)