Python学习之--用户输入以及运算
摘要:一、 用户输入:input 1. 函数input() 让程序暂停运行,等待用户输入一些文本。 2.使用int()将字符串转为数值 二、运算:+-*、 1.求模运算符 (%)将两个数相除并返回余数: 2. +-*/ 三、while循环
阅读全文
posted @ 2019-11-04 16:54
posted @ 2019-11-04 16:54
posted @ 2019-11-04 16:16
posted @ 2019-11-04 15:34
posted @ 2019-11-04 14:07
posted @ 2019-11-04 13:45