摘要:
python三元运算,c三目运算符使用 age3 = 10print(age3 > 10 if 'ok' else 'false')print('正常' if age3 > 2 else '异常') 阅读全文
posted @ 2024-01-01 21:22
txwtech
阅读(38)
评论(0)
推荐(0)
摘要:
python模块的使用方法_类的创建与调用 eml = employee.Employee() #默认调用模块的__init__.pyemployee文件夹就是模块,与main.py主程序在同一个项目的文件夹main.py # This is a sample Python script. # Pr 阅读全文
posted @ 2024-01-01 21:03
txwtech
阅读(45)
评论(0)
推荐(0)

浙公网安备 33010602011771号