Answer to Question #307140 in Python for Alex

Question #307140

write an expression that evaluates to true if and only if the string variable s equals the string "end".


1
Expert's answer
2022-03-07T12:54:13-0500
s = input('')
if s == 'end':
    print(True)
end
True

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS