Skip to content

Instantly share code, notes, and snippets.

@pgjones
Last active August 29, 2015 14:14
Show Gist options
  • Save pgjones/9073c163279b88aad610 to your computer and use it in GitHub Desktop.
Save pgjones/9073c163279b88aad610 to your computer and use it in GitHub Desktop.
Simple class for Andy
class Value(object):
def __init__(self, a, b, c):
self.a = a
self.b = b
self.c = c
array = []
for index in range(0, 360):
value = Value(10 * index, 20, 30)
array.append(value)
print array[0].a, array[1].a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment