Is there an easier way for this if statement? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Is there an easier way for this if statement?

if a='c' or b='c' or a='d' or b='d':

30th Apr 2018, 1:44 AM
chuyu zhu
chuyu zhu - avatar
1 Answer
+ 3
Here: https://code.sololearn.com/c2UbzYLSvQQk/?ref=app Let me know if you do not understand . ☺
30th Apr 2018, 1:58 AM
cyk
cyk - avatar