+ 1

"CHALLENGE" Create a 2018 Calendar

with icons

29th Dec 2017, 12:14 PM
Marius N'guessan
Marius N'guessan - avatar
4 Réponses
+ 4
Wait I have to take time to code that
29th Dec 2017, 1:51 PM
Vansh
Vansh - avatar
+ 4
https://code.sololearn.com/cWxb4aUXVUU6/?ref=app generalised for any year. enter year to see calendar
29th Dec 2017, 2:01 PM
Qwqwq Rt
Qwqwq Rt - avatar
+ 1
soo.. what exactly should this calculator so
29th Dec 2017, 1:29 PM
romangraef
+ 1
This code is copied from M T U Fernando (just added the input for year var) and do a great job. If run in sololearn playground it's ok. I tried the same on my installed Python (3.6.4) and got the "TypeError: 'int' object is not callable" error, can someone help me? import calendar year = input('give a year: ') month = 1 while month <= 12: print(calendar.month(year, month)) month += 1
16th Jan 2018, 11:42 AM
Anto74
Anto74 - avatar