3.5

Run Settings
LanguagePython
Language Version
Run Command
i = int(input("plz key-in your month in number:")) print(i) monthlst = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"] for x,y in list(enumerate(monthlst, start=1)): if (x == 1 or x == 3 or x == 5 or x == 7 or x == 8 or x == 10 or x == 12) and x == i: print(y,"31 days") if (x == 4 or x == 6 or x == 9 or x == 11) and x == i: print(y,"30 days") if x==2 and x == i: print(y,"28 days")
Editor Settings
Theme
Key bindings
Full width
Lines