#Deyu Wu x0952612 Chenyu Zhang x0950654 JUNKYUL ICS 31 lab sec3 Lab Asst 1e.
#part e
number_of_classmates = 30
number_of_laptops = 30
print(number_of_classmates + number_of_laptops)
print(number_of_classmates / number_of_laptops)
print(number_of_classmates * number_of_laptops)
#part f1
The_sum_of_the_five_even_integers_from_2_to_10 = 2+4+6+8+10
print(The_sum_of_the_five_even_integers_from_2_to_10)

The_average_of_this_group_of_test_scores = str((75+83.5+61+43)/4) + '%'
print(The_average_of_this_group_of_test_scores)
    
two_to_the_tenth_power = 2**10
print(two_to_the_tenth_power)

mass = 50
speed = 15
Ek = (speed**2*mass)/2
print(Ek)

#f2
wall = 'w'
cannon = 'c'

print(wall+cannon)
print(wall+cannon+wall)
print(wall*3+cannon+wall*3)
print((wall+2*cannon)*4)
print((wall*4+cannon)*4+4*wall)

#f3

test_scores = '4325220523455023'
print(test_scores[0])
print(test_scores[4])
print(test_scores[9])
print(test_scores[15])

#f4
s = 'anteater'
print(s[0] == 'a')
print(s[-1] =='r')
print(s[3] =='x')
print(s[:4] == 'zot')

#f5

pi = 3.14159
make = 'Toyota'
model = 'Camry'
year = 2014
ICS_majors = ['Computer Science','Informatics','Computer Game Science']
a = (3+5+7+9)/4

#f6
print(20+35 >2**4)
print('hello' != 'goodbye')
print(10 % 3 == 1)
l = ['apple','orange','banana','mango']
print(len(l) == 5)
print(63 % 2 == 0)

#f7
s = 'abcdefghijklmnopqrstuvwxyz'
print(s[3] + s[14] + s[6])
print(s[19] + s[-5])
print(s[8] + s[2] + s[-8])
print(s[-6] + s[2] + s[8])
