Python – Arrays or Lists

  • David Muir

    Hello There Folks

    If this question is answered elsewhere, I can’t find it…

    The Manditory content says “1D-arrays”. As far as Python is concerned, would we get away with a Python list or do we have to go the whole array hog? Any thoughts?


    Greg Reid

    I am happily ignoring that fact that I’m using Python lists instead of true arrays. At the level I’m teaching Python to they behave exactly like arrays. I’ve not introduced list features like pop and push so the kids are none the wiser.
    I’m fairly sure the SQA will not frown on how Python treats arrays and lists as long as you are delivering the correct concepts.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.