You answeredJUST NOW
Python
STDIN
cat 2 a
Expected STDOUT
True
Your STDOUT
True
STDIN
cat 1 a
Expected STDOUT
False
Your STDOUT
False
STDIN
1234 4 4
Expected STDOUT
True
Your STDOUT
True
STDIN
1234 4 5
Expected STDOUT
False
Your STDOUT
False
STDIN
1234 -1 1
Expected STDOUT
False
Your STDOUT
False
STDIN
apple 1 a
Expected STDOUT
True
Your STDOUT
True
STDIN
apple 0 a
Expected STDOUT
False
Your STDOUT
False
STDIN
aaa -1 a
Expected STDOUT
False
Your STDOUT
False
Instructor solution
Strings in Python Presentation (page 2)
By Alec Kretch (Aug 15, 2023)
You may exit out of this review and return later without penalty.