python6(math函数)
来源:互联网 发布:网页自动生成软件 编辑:程序博客网 时间:2024/06/05 04:28
pow(2,5)print(pow(2,4))print(type(3.9))print(len('wyfcwiydg'))a='montuewdnthufrisatsun'print(a.upper())print(2e10)#a*10(b)print(12.3+4j)z=1.23e-4+5.6e+89jprint(z.real)#获得实部print(z.imag)#获得虚部print(complex(4.5))#将括号里的数转化为虚部print(type(4.5+1j))#输出括号里数据类型x=5y=2print(x//y)#不大于x与y之商的最大整数print(x**y)#输出x的y次幂print(divmod(x,y))#(x//y,x%y)
0 0
- python6(math函数)
- Python6--函数
- python6
- python6
- 学习Python6(临时计算器+字符串编码)
- Math 函数--> is_nan()
- JS函数(Math)
- JavaScript函数(math)
- java数学函数(Math)
- Math 函数
- Math函数
- 函数Math
- math函数
- Math函数
- Math函数
- Android 使用数学函数(Math函数)
- Math 函数--> cos()和acos()
- (三)php参考手册----Math函数
- Test and study the pose optimisation module
- 短文本分类工具 TextGrocery
- CUDA程序配置备忘
- 个人记录-LeetCode 23. Merge k Sorted Lists
- OpenCV Mat数据类型像素操作
- python6(math函数)
- JSON.parse()和JSON.stringify()
- [投稿]准备篇
- SpringBoot初始教程之项目结构(一)
- linux内存管理数据结构
- 18、Spring MVC 之 HTTP caching support
- array_merge 和 + 在和并数组时候的 相同和不同
- POJ 2253Frogger(最短路floyd)
- 手写数字识别(二)----SVM 实现Mnist-image 手写数字图像识别