python的基础知识
来源:互联网 发布:大数据相关课程 编辑:程序博客网 时间:2024/05/16 17:35
alt+p 上一条语句
alt+n 下一条语句
tab 提示输入
BIF-Build-in function 内置函数
input() 打印里面的内容 返回输入的内容 返回类型是字符串类型。
help(input) 解释input
else if不能写在一起
要写成 else:
if:
数据类型转换
转换成整型 int()
转换成浮点型float()
转换成字符串型 str()
获得数据类型:type()
isinstance(a,b): 比较a和b的数据类型是否一致,一致输出true 否则输出false
0 0
- [Python]类的基础知识
- python的一些基础知识
- Python的基础知识
- python的基础知识
- [Python]类的基础知识
- Python的基础知识
- [Python]类的基础知识
- Python的一些基础知识
- python的基础知识
- python的基础知识
- Python的一些基础知识
- selenium +python的基础知识
- python的基础知识
- Python的基础知识
- python的一些基础知识
- Python的基础知识2
- Python的一些基础知识
- python的一些基础知识
- 友盟推送的使用
- PAT甲级练习1085. Perfect Sequence (25)
- java中的静态代理
- request:fail ssl hand shake error 微信小程序(已解决!!) TLS1.2版本配置
- leetcode 15. 3Sum
- python的基础知识
- Convert Sorted Array to Binary Search Tree
- sql server锁升级 / oracle没有锁升级
- Java OOP day05
- 设计模式笔记十三:代理模式
- CobarClient源码分析
- JavaVM和JNIEnv
- gcc/g++ 如何支持c11 / c++11标准编译
- .net开发工程师笔试些许经验分享