Question #307140

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


Expert's answer

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!

LATEST TUTORIALS
APPROVED BY CLIENTS