"""
_, *args
"""
# 1- 下划线 '_' , 获取文件名
import os
_, file_name = os.path.split(os.getcwd())
print(file_name)
# 2- *args 只要一个名字, 职业列表
user_info_list = [('小王', 25, "男", "医生"),
('小红', 22, "女", "老师"),
('小明', 21, "男", "警察"),
('小王', 25, "男", "发型师")]
name_list = []
for name, *args, profession in user_info_list:
name_list.append((name, profession))