Jul-08-2018, 10:06 AM
I've been trying to display a calendar month using Python3.6 and whilst the code works perfect from the command-line it only produces a list of errors if i try to display from a file in Atom text editor. Hope someone can help please.
#!/usr/bin/env python3.6 # import module import calendar yy = 2018 mm = 11 # To ask month and year from the user # yy = int(input("Enter year: ")) # mm = int(input("Enter month: ")) # display the calendar print(calendar.month(yy, mm))