Run ❯
Get your
own Python
server
Result Size:
625 x 565
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
txt = "Hi, welcome to my castle." x = txt.endswith(("world.", "castle.")) print(x)
x
txt
=
"Hi, welcome to my castle."
x
=
txt
.
endswith
((
"world."
,
"castle."
))
print
(
x
)
True