Last active
August 29, 2015 14:14
-
-
Save pgjones/9073c163279b88aad610 to your computer and use it in GitHub Desktop.
Simple class for Andy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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