• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
0

Is there an easier way for this if statement?

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

boolean-logicif
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

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
I tried changing my username already to see if the name on the certificates will change but they didn’t .
1 Votes
Started learning python
0 Votes
Hi guys I’m enjoying learning but problem is practice
0 Votes
How can one build an Ai app
1 Votes
Websites for frontend developers
1 Votes
Discrete mathematics (python)
0 Votes
I need help in programing
0 Votes
Error in Ethical AI Foundations course
1 Votes
C++, c# , graphical interface
1 Votes
I need a mentor in coding specifically AI
0 Votes