For this Question: Write a Program to read a number and display the corresponding week day name using if_elif_else.The first line contains the week day number to be printed.Prints the following on given inputs:
1- Monday
2- Tuesday
3- Wednesday
4- Thursday
5- Friday
6- Saturday
7- Sunday
and Invalid on any other input.Sample Input:
3

Sample Output:
Wednesday, I have written this Solution Code: weekday = int(input())

if weekday == 1 :
    print("Monday");

elif weekday == 2 :
    print("Tuesday")

elif(weekday == 3) :
    print("Wednesday")

elif(weekday == 4) :
    print("Thursday")

elif(weekday == 5) :
    print("Friday")

elif(weekday == 6) :
    print("Saturday")

elif (weekday == 7) :
    print("Sunday")

else :
    print("Invalid"), In this Programming Language: Python, Now tell me if this Code is compilable or not?