Skip to content

Commit c5b8a51

Browse files
author
Amogh Singhal
authored
Update Python_Programming_Quiz.md
1 parent 2ae096c commit c5b8a51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python_Programming_Quiz.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ def isPalindrome(string):
466466
left, right = iter(string), iter(string[::-1])
467467
i=0
468468
while i < len(string)/2:
469-
if next(left)!=next(right):
469+
if next(left) != next(right):
470470
return False
471471
i+=1
472472
return True

0 commit comments

Comments
 (0)