'''
#输入输出
#inputnum = int(input('请输入数字 :'))
inputnum = int(65535)
print("input number = ",inputnum,"\ncount 1024*768 = ",1024*768)


print("This is sample for %%, str:%s, number:%d"%("字符测试",1024))

s1 = 72
s2 = 85
print('去年成绩：%d,今年成绩：%d,今年提高的成绩百分比：%0.2f%%'%(s1,s2,(s2-s1)/s1*100))

#End
'''

'''
#20180913
#Test 数据类型
a,b,c = 1000,99.88,True
print(type(a),type(b),type(c))
'''

#20180914
'''
#字符串输出
str = '这是一个字符串测试'
print(str)
print(str[0])
print(str[2:5])
print(str+',这里是新增字符')


#字符串内建函数
str = 'This is a string for test, it was born for test,ended with test,nobody will care its mind'
sub = 'i'
print('i的出现次数是',str.count(sub))


#列表
list1 = ['google','baidu',300590,10086];
list2 = [1,2,3,4,5,6];
list3 = ['a','b','c','d','e']
print('List1[0]:',list1[0])
print('List2[2:4]:',list2[2:4]);
print('List3:',list3)

#元组
basket1 = set('12345abcde')
basket2 = set('1a2b1a2b')
print('Basket1:',basket1);
print('Basket2:',basket2);
print('2 in basket1 ? ','2' in basket1);
'''











