首页
题库
公司真题
专项练习
面试题库
在线编程
面试
面试经验
AI 模拟面试
简历
求职
学习
基础学习课
实战项目课
求职辅导课
专栏&文章
竞赛
我要招人
发布职位
发布职位、邀约牛人
更多企业解决方案
AI面试、笔试、校招、雇品
HR免费试用AI面试
最新面试提效必备
登录
/
注册
٩(•̤̀ᵕ•̤́๑)ᵒᵏᵎᵎᵎᵎ
获赞
6
粉丝
0
关注
3
看过 TA
1
男
门头沟学院
2021
Python
IP属地:陕西
暂未填写个人简介
私信
关注
拉黑
举报
举报
确定要拉黑٩(•̤̀ᵕ•̤́๑)ᵒᵏᵎᵎᵎᵎ吗?
发布(16)
评论
刷题
收藏
٩(•̤̀ᵕ•̤́๑)ᵒᵏᵎᵎᵎᵎ
关注TA,不错过内容更新
关注
2024-01-14 12:14
门头沟学院 Python
题解 | #兔子的数量#
def num_robbet(n): if n== 1: return 2 if n==2: return 3 return num_robbet(n-1)+num_robbet(n-2) print(num_robbet(int(input())))
0
点赞
评论
收藏
分享
2024-01-13 22:28
门头沟学院 Python
题解 | #字符子串的查找#
kk=input() if 'NiuNiu' in kk: print(kk.index('NiuNiu')) else: print(-1)
0
点赞
评论
收藏
分享
2024-01-13 19:15
门头沟学院 Python
题解 | #增加元组的长度#
a =tuple(range(1,6)) b =tuple(range(6,11)) print(a,len(a),a+b,len(a+b),sep="\n")
0
点赞
评论
收藏
分享
2024-01-13 19:14
门头沟学院 Python
题解 | #增加元组的长度#
a=1,2,3,4,5 b=6,7,8,9,10 print(a,len(a),a+b,len(a+b),sep="\n")
0
点赞
评论
收藏
分享
2024-01-13 18:14
门头沟学院 Python
题解 | #输出前三同学的成绩#
listy=tuple(str(input()).split()) print(listy[0:len(listy)if len(listy)-3<0 else 3])
0
点赞
评论
收藏
分享
2024-01-13 14:08
门头沟学院 Python
题解 | #跳过列表的某个元素#
for c in range(1,16): if c !=13: print(c,end=" ")
0
点赞
评论
收藏
分享
2024-01-13 14:06
门头沟学院 Python
题解 | #提前结束的循环#
im=[3, 45, 9, 8, 12, 89, 103, 42, 54, 79] ss=input() for c in im: if c == int(ss): break else: print(c)
0
点赞
评论
收藏
分享
2024-01-13 13:18
门头沟学院 Python
题解 | #格式化清单#
a=['apple', 'ice cream', 'watermelon', 'chips', 'hotdogs', 'hotpot'] while(len(a)!=0): a.pop() print(a)
0
点赞
评论
收藏
分享
2024-01-13 13:13
门头沟学院 Python
题解 | #2的次方数#
a=[] for c in range(1,11): a.append(2**c) for k in a: print(k)
0
点赞
评论
收藏
分享
2024-01-13 11:43
门头沟学院 Python
题解 | #禁止重复注册#
new_users = ["GurR", "Niu Ke Le", "LoLo", "Tuo Rui Chi"] current_users = ["Niuniu".lower(), "Niumei".lower(), "GURR".lower(), "LOLO".lower()] for a in new_users: if a.lower() in current_users: print( ...
0
点赞
评论
收藏
分享
2024-01-13 11:36
门头沟学院 Python
题解 | #判断列表是否为空#
a=[] print('my_list is empty!' if len(a)==0 else 'my_list is not empty!')
0
点赞
评论
收藏
分享
2024-01-13 11:32
门头沟学院 Python
题解 | #公式计算器#
x,y,z,k=input().split() print((int(x)+int(y))*(int(z)-int(k)))
0
点赞
评论
收藏
分享
2021-10-31 23:44
门头沟学院 Python
2021-10-31
在牛客打卡1天,今天学习:刷题 19 道/代码提交 45 次
每日监督打卡
0
点赞
评论
收藏
分享
2021-10-31 19:36
门头沟学院 Python
题解 | #计算带余除法#
import java.util.Scanner; public class Main{ public static void main(String[]args){ Scanner scan =new Scanner(System.in); String str = scan.nextLine(); int i = str.indexOf(" "); String str1=str.substring(0,i); String str2=str.substring(i+1); int a = Integer.parseInt(st...
0
点赞
评论
收藏
分享
2021-10-31 18:56
门头沟学院 Python
题解 | #按照格式输入并交换输出#
import java.util.Scanner; public class Main{ public static void main(String[]args){ Scanner scan = new Scanner(System.in); String str = scan.nextLine(); int i = str.indexOf(","); int j = str.indexOf("="); String str1=str.substring(j+1,i); String st...
0
点赞
评论
收藏
分享
1
2
创作者周榜
更多
关注他的用户也关注了:
牛客网
牛客企业服务