I tried to check whether a word contain in a string and then perform later functions but it went into the wrong "if".
a = "3,977"
if "割" or "分" in a:
print("yes")
elif "," in a:
print(",")
else:
print("none")
current result:
"yes"
expected result:
","