a=int(input())
eng=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"]
print(eng[a-1])
-感觉用【】对应方法的不是特别多,可能这是一种比较高级的方法?初学者一般比较难想到?
- 我觉得第一反应都是那个分支的方法,哈哈
a=int(input())
eng=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"]
print(eng[a-1])
-感觉用【】对应方法的不是特别多,可能这是一种比较高级的方法?初学者一般比较难想到?