Lab01
- 01.3.9 An alphanumeric code of 16 characters alternating strings “abcd” and “1234”.
01.3.9由“abcd”和“1234”交替组成的16个字符的字母数字代码。
- 01.3.10 A checkboard of size 5x5 where the white squares are indicated by a “0”, and the black squares by a “1”.
01.3.9由“abcd”和“1234”交替组成的16个字符的字母数字代码。
# first
name = input('请输入你的姓名:')
gender = input('请输入你的性别:')
age = int(input('请输入你的年龄:'))
university = input('请输入你的学校:')
print('正在生成你的简历......')
print('*'*20)
print('\t简历')
print(f'姓名:{name}')
print(f'性别:{gender}')
print(f'年龄:{age}')
print(f'毕业学校:{university}')
pip install pygame
# pip install 库名称
The technical department of a large company has a number of PCs to lend out to employees in case of need(for example, when their PC in service or they are waiting to buy a new one).
一家大公司的技术部门有许多个人电脑借给员工以备不时之需(例如,当他们的个人电脑在使用中或他们正在等待购买一台新的电脑时)。
The list of all the PCs used for this purpose is contained in a text file parkPC.txt, which has on each line the unique identification code of a PC(*4-character alphanumeric). The PCs are not listed in any specific order.