CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   Python (http://www.codingforums.com/forumdisplay.php?f=46)
-   -   Make sure that you defined the variable "now"! (http://www.codingforums.com/showthread.php?t=281300)

Loopki40 11-07-2012 12:02 AM

Make sure that you defined the variable "now"!
 
I am using codeacademy.com to try to learn python and it keeps saying above message when i clearly defined it

http://www.codecademy.com/courses/py...#!/exercises/1

if i did anything wring could someone correct iit for me and post it here please ty

AndrewGSW 11-21-2012 01:09 AM

Code:

from datetime import datetime

now = datetime.now()
print(now)



All times are GMT +1. The time now is 01:37 AM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.