a = "aaa"
b = "bbb"
c = "ccc"
final = a + b + c
print final
import sys
print(sys.version)
print("hello world ~")
import os
print(os.defpath)
name = """sdfsdfsdf
hello
python
"""
print(name)
print("10//3 = ",10 // 3)
print("5**3 = ",5 ** 3)
print("5%3 = ",5 % 3)
print("14/3 = ",14 / 3)
print("=%s" % 12)
charA = 65
charB = 66
print("ASCII码65代表:%c" % charA)
print("ASCII码66代表:%c" % charB)
Num1 = 0xEF3
Num2 = 0xAB03
print('转换成十进制分别为:%u和%u' % (Num1, Num2))
Num3 = 1200000
print('转换成科学计数法为:%e' % Num3)
quote=""Always remember you are unique"
multi_line_quote=''' just
like everyone else'''
new_string=quote+multi_line_quote
print("%s%s%s" % ('i like ',quote,multi_line_quote))
grocery_list=["a","b","c","d","e"]
other_events=['car','phone','bed','cat','pig','dog']
print("the first one is %s" % grocery_list[0])
print(other_events[3:6])
to_do_list=[grocery_list,other_events]
print(to_do_list)
print(to_do_list[0:1][1:4])
print(to_do_list[1:3])
print(to_do_list[0][0])
print(to_do_list[0][1])
print(to_do_list[0][2])
print(to_do_list[1][0])
print(to_do_list[1][1])
print(to_do_list[1][2])