python笔记
摘要:1,#单行注释,''' '''多行注释 2,input输入值为str 3,避免小数位数过多 from decimal import Decimal print(Decimal('1.1')+Decimal('2.2')) 4,一次性读入多个数据 a, b, c = input('输入a,b空格隔开:
阅读全文
posted @ 2022-06-05 19:14
posted @ 2022-06-05 19:14
博客园
Copyright © 2025 zesure
Powered by .NET 9.0 on Kubernetes