โ Back to Variables
Question 269
Combine Conditions with OR
Combine Conditions with OR
Declarebool isWeekend = falseandbool isHoliday = true. Store whether it is a day off (either condition is true) indayOffusing||, then print it: True
Expected Output:
True
Topics:
Variables
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (cw, cr, fori)
Your Output
Run your code to see the output here...
Test Cases
Run your code to see test case results.