#输入输出
# try:
# a = int(input('请输入一个整数:'))
# print(a)
# except NameError:
# if a % 1 == 0:
# print('整数')
# else:
# print('类型错误')
# except ValueError:
# print('valueerror')
# finally:
# print('test')
# #文件
# file= open('word.txt','r+')
# # file.write('Test test testing!')
# print(file.read())
# file.close