[编程入门]数字的处理与判断 (Python代码) 摘要:方法一,直接利用字符串切片 ```python x = input() print(len(x)) for i in range(len(x)): print(x[i], end="…… 题解列表 2019年11月22日 0 点赞 0 评论 1309 浏览 评分:6.0
[编程入门]电报加密-题解(Python代码)python 摘要:ord()函数返回对应字符的ascii码 chr()函数返回ascii码对应的字符  步骤…… 题解列表 2019年11月22日 0 点赞 0 评论 1363 浏览 评分:9.7
[编程入门]成绩评定-题解(Python代码) 摘要:if else语句 ```python x = int(input()) if x=60 and x=70 and x=80 and x…… 题解列表 2019年11月22日 0 点赞 1 评论 2512 浏览 评分:8.6
[编程入门]分段函数求值 (Python代码) 摘要:直接if判断 ```python x = int(input()) if x=1 and x…… 题解列表 2019年11月22日 0 点赞 0 评论 1916 浏览 评分:4.3
[编程入门]实数的打印-题解(Python代码) python 摘要:```python num = float(input()) #输入数据后把 字符串变成浮点数 for i in range(1,4): #1到3 for j in range(i): …… 题解列表 2019年11月22日 0 点赞 0 评论 1964 浏览 评分:8.0
[编程入门]宏定义之找最大数-题解(Python代码) python 摘要:```python list = [] #定义列表 list=0 #定义变量 list = input().split() #输入数据以空格切割放进list 里面 ans = flo…… 题解列表 2019年11月22日 0 点赞 2 评论 2296 浏览 评分:9.7
[编程入门]宏定义之闰年判断-题解(Python代码)python 摘要:\```python num = int(input())#输入并且转换为整型 if num%4==0 and num%100!=0 or num%400==0: #判断是否是闰年 pr…… 题解列表 2019年11月22日 0 点赞 0 评论 1496 浏览 评分:0.0
[编程入门]带参数宏定义练习-题解(Python代码) python 摘要:```python a,b=input().split() #输入数据emmmmmmmm a,b=b,a #交换数据emmmmmmmm print(a,b) …… 题解列表 2019年11月21日 0 点赞 3 评论 1757 浏览 评分:6.5
[编程入门]自定义函数之字符类型统计-题解(Python代码) python 摘要:```python a=b=c=d=0 #定义 str = input()#输入 for i in str: #遍历判断 if i>='a'and i='A' and i='0' …… 题解列表 2019年11月21日 0 点赞 0 评论 1301 浏览 评分:0.0
[编程入门]自定义函数之数字分离-题解(Python代码) python 摘要:```python a = input() #输入 for i in a: #遍历 print(i,end=" ") #格式化输出 当输出字符后以空格结尾(end=" ") ``…… 题解列表 2019年11月21日 0 点赞 2 评论 964 浏览 评分:9.9