摘要:输入语句 python中,通过input函数获取用户键盘输入 input函数的参数是字符串,它是屏幕提示语 # 变量赋值,=两边空格可有可无 >>> user = input('username: ') # 用户输入内容保存到变量user中 username: tom >>> user # 使用变量
阅读全文
posted @ 2021-09-30 15:06
Give and get
posted @ 2021-09-30 15:06
posted @ 2021-09-07 10:23
posted @ 2021-09-06 09:01
posted @ 2021-09-02 18:22