View Single Post
Old 2016-11-27, 05:16   #4
tanaydin
 
Oct 2016

23 Posts
Default

Hello,

You should use input() or raw_input() function... something like that..

Code:
def main():
    start_date = raw_input("Start Date (e.g., 2013-11-01) ? ")
    end_date = raw_input("End Date (e.g., 2014-11-01) ? ")
    print(getAverageTemps(start_date, end_date))
tanaydin is offline   Reply With Quote