-->
当前位置:首页 > 题库

PROGRAMMING:Output week abbreviation

Luz5年前 (2021-05-10)题库397
Input a number from 1 to 7 and output the abbreviation of the corresponding week name.
one Mon
two Tue
3 Wed
four Thu
five Fri
six Sat
seven Sun
###Input format:
Enter a number between 1 and 7
###Output format:
Output the abbreviation of the corresponding week name
###Input example:
Here is a set of inputs. For example:
```in
one
```
###Output example:
The corresponding output is given here. For example:
```out
Mon
```







answer:If there is no answer, please comment
days={1:"Mon",2:"Tue",3:"Wed",4:"Thu",5:"Fri",6:"Sat",7:"Sun"}
num=int(input())
print(days[num])