python基础学习笔记——Python基础教程(第2版 修订版)第一章
#模块
import math math.floor(9) from math import sqrt sqrt(9) #无需使用前缀 import cmath cmath.sqrt(-1) #不能使用from...inport
#转义和单双引号
>>>“\"hello,word\"she said" '"hello,word"she said' #使用print不显示引号
#拼接字符串 +
#输入 input raw_input (python3中不使用)
name=input("what is you name?") print("hello,"+name+"")