if i==1:
print "passed 1"
elif i==2:
print "passed 2"
else:
print "passed"
if i==1:
print "passed 1"
elif i==2:
print "passed 2"
else:
print "passed"
a = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
for i in a:
print i
a = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
for i in a:
print i
class Example:
value = 'a'
def __init__(value):
self.value = value
def getValue(self) :
return self.value
class Example:
value = 'a'
def __init__(value):
self.value = value
def getValue(self) :
return self.value