65. Python Program to Check If a Day Is a Weekend
Easyand, or, not
Overview
Check two possible answers with or.
Problem Statement
Read a day name, written with a capital first letter. Print Weekend for Saturday or Sunday, and Weekday for any other day. For example, for Sunday:
Weekend
Use input() with no prompt text: the tests type the input for you, and a prompt would end up in your output.
Input
One value per line, in this order. Example:
Sunday
Output
The output for that example:
Weekend
The tests try 3 different inputs.