
a = 1;
print("hello first python!");

# list print xxx;
list1 = ["aaa", "bbbb"];
print(list1);
print(list1[0]);

# if else
if a == 1:
    print("yes");
else:
    print("no");
   
# for 
L = ['Bart', 'Lisa', 'Adam']
for item in L:
    print(item);
 
# abs   
print(abs(-10));

# def function
def test1(x):
    if x == 1:
        print "ok";
    else:
        print "no";

test1(1);
test1(2);