1234: 检查一个数是否为质数-题解 摘要:解题思路:注意事项:参考代码:a = int(input())if a <= 1: print("N")elif a == 2: print("Y")else: for i in r…… 题解列表 2021年11月05日 0 点赞 0 评论 1115 浏览 评分:0.0
[编程入门]三个数字的排序------(Python) 摘要:利用Python函数: sort-----对列表进行排序 ```python team=list(map(int,input().split())) team.sort() for i in…… 题解列表 2021年11月05日 0 点赞 0 评论 1060 浏览 评分:9.9
[编程入门]数字逆序输出-----详解(Python) 摘要:reverse---可以将列表逆序 ```python team=list(map(int,input().split())) team.reverse() for i in team: …… 题解列表 2021年11月05日 0 点赞 0 评论 875 浏览 评分:9.3
[编程入门]数字插入处理-----利用函数------(Python) 摘要:Python append----在最末尾添加 sort-----将列表排序 ```python team=list(map(int,input().split())) n=int(inpu…… 题解列表 2021年11月05日 0 点赞 0 评论 427 浏览 评分:0.0
[编程入门]矩阵对角线求和-------(Python) 摘要:```python a=[] sum1=sum2=0 for i in range(3): team=list(map(int,input().split())) a.app…… 题解列表 2021年11月05日 0 点赞 0 评论 666 浏览 评分:6.0
用c lass 和 循环一维 摘要:解题思路:注意事项:参考代码:class people: def __init__(self,num): self.num=num self.J=Truen=int(…… 题解列表 2021年11月05日 0 点赞 0 评论 815 浏览 评分:9.9
[编程入门]猴子吃桃的问题(C语言代码)简单易懂 摘要:解题思路: 一天吃剩的加一再乘二就变成吃之前的注意事项:控制for循环次数参考代码:#include<stdio.h>int main(){ int n,a=1,h=2; scanf("%d",&n)…… 题解列表 2021年11月05日 0 点赞 0 评论 555 浏览 评分:9.9
2182 就;IP就离谱C语言 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ printf(" *\n * *\n*****\n"); return 0;}…… 题解列表 2021年11月05日 0 点赞 0 评论 374 浏览 评分:0.0
2095 就离谱C语言 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main (){ long long y,a,b,c,d; scanf("%lld %lld %lld %lld",&a,&b…… 题解列表 2021年11月05日 0 点赞 0 评论 364 浏览 评分:0.0
2544wang旺旺碎碎冰,C语言,旺 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main (){ int x,y=0;scanf("%d",&x); for(int i=1;i<=x;i++) { y+=…… 题解列表 2021年11月05日 0 点赞 0 评论 345 浏览 评分:0.0