python直观解法 摘要:解题思路:主要用到一个index()函数,用于确定某个存在于列表中的元素的索引注意事项:无参考代码:results_s = []while True: try: st = inpu…… 题解列表 2022年06月08日 0 点赞 0 评论 546 浏览 评分:0.0
1232: 查找最大元素 摘要:解题思路:注意事项:参考代码:while True: try: a=input() s=max(a) str='' for i in a: if i!=s: …… 题解列表 2022年02月07日 0 点赞 0 评论 465 浏览 评分:0.0
直接查找输出(Python) 摘要:while 1: s=input() if len(s)==0: break list1=list(s) if len(list1)<101: ma…… 题解列表 2021年04月20日 0 点赞 0 评论 654 浏览 评分:0.0
查找最大元素-题解(Python代码) ```pythonwhileTrue:ipt=input()list1=list(ipt)#list2用于存放最大字母所在下标list2=[]max=list1[0]string=""foriinrange(len(list1)):#如果当前遍历的字母等于当前的最大值, 题解列表 2020年03月25日 0 点赞 0 评论 1040 浏览 评分:0.0