Practice ยท 2 of 4
Weekend Detector
day = "sat" is given. Print weekend if day is "sat" or "sun"; otherwise print weekday.
Difficulty: beginner
Press Submit to check your solution.
Back to lesson: Practice: Logic & Truthiness
Practice ยท 2 of 4
day = "sat" is given. Print weekend if day is "sat" or "sun"; otherwise print weekday.
Difficulty: beginner
Back to lesson: Practice: Logic & Truthiness