Draw a flowchart to input a day - displays "IT IS A WORKING DAY",If the day is not "SUNDAY".
Answers
Answered by
0
# Python program to check the working day
L = [" Monday " , " Tuesday " , " Wednesday " , " Thursday " , " Friday " , " Saturday "]
day = input( " Enter the day : " )
for i in L :
if ( day == [ i ] ) :
print ( " IT IS A WORKING DAY " )
if ( day == " Sunday " ) :
print ( " SUNDAY " )
else :
print ( " YOU HAVE ENTERED INCORRECT SPELLING " )
Similar questions