003《Python数据分析、挖掘与可视化(第2版)》/例4-2.py
from random import randint if randint(1, 100)>51: sex = '男' else: sex = '女' print(sex)