Monday, June 29, 2015

pythondevstuff

http://www.pythoncentral.io/






def factorial(n):
    if n == 0:
        return 1
    else:
        return n * factorial(n - 1)


from datetime import datetime
start_time = datetime.now()
a = "this is a test message for print"
print a*5000
end_time = datetime.now()
print('Duration: {}'.format(end_time - start_time))


nyc

https://github.com/CityOfNewYork/CROL-Parsing/blob/master/Planned%20Implementation/code/DateFind.py

No comments:

Post a Comment