I don't understand this output from the codecademy terminal

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • aravind12345
    New Member
    • Jan 2014
    • 22

    I don't understand this output from the codecademy terminal

    I am using code academy to learn how to do python, for this code

    code:
    Code:
    x = range(0,11,2)
    x = enumerate(x)
    print(x)
    I got this output


    Output:
    Code:
    <enumerate object at 0x7f737edc0190>
    None
    I would like to know what this output means.
    Thank you
  • Kara Hewett
    New Member
    • Apr 2014
    • 27

    #2
    What version of python are you using? Range and enumerate function differently in different versions of python

    Comment

    • aravind12345
      New Member
      • Jan 2014
      • 22

      #3
      Sorry for the late reply, It is python version 2.x

      Comment

      Working...