首页
题库
公司真题
专项练习
面试题库
在线编程
面试
面试经验
AI 模拟面试
简历
求职
学习
基础学习课
实战项目课
求职辅导课
专栏&文章
竞赛
我要招人
发布职位
发布职位、邀约牛人
更多企业解决方案
AI面试、笔试、校招、雇品
HR免费试用AI面试
最新面试提效必备
登录
/
注册
前程似锦的懒羊羊很自来熟
获赞
5
粉丝
1
关注
0
看过 TA
17
厦门大学
2024
数据分析师
IP属地:上海
暂未填写个人简介
私信
关注
拉黑
举报
举报
确定要拉黑前程似锦的懒羊羊很自来熟吗?
发布(148)
评论
刷题
收藏
前程似锦的懒羊羊很自来熟
关注TA,不错过内容更新
关注
2023-09-21 08:59
厦门大学 数据分析师
题解 | #累加数与平均值#
list1=input().split() sum=0 for i in list1: sum+=int(i) b=sum/len(list1) print(sum,"%.1f"%b,sep=" ")
0
点赞
评论
收藏
分享
2023-09-21 08:53
厦门大学 数据分析师
题解 | #列表的最大与最小#
list1=[i for i in range(10,51)] print(list1) print(list1[0],list1[-1],sep=' ')
0
点赞
评论
收藏
分享
2023-09-19 15:22
厦门大学 数据分析师
题解 | #将查询后的列重新命名#
select device_id as user_infos_example from user_profile limit 0,2;
0
点赞
评论
收藏
分享
2023-09-19 15:21
厦门大学 数据分析师
题解 | #查询结果限制返回行数#
select device_id from user_profile limit 0,2
0
点赞
评论
收藏
分享
2023-09-19 15:19
厦门大学 数据分析师
题解 | #查询结果去重#
select distinct university from user_profile
0
点赞
评论
收藏
分享
2023-09-19 14:45
厦门大学 数据分析师
题解 | #二进制位运算#
x,y=map(int,input().split()) print(x&y,x|y,sep="\n")
0
点赞
评论
收藏
分享
2023-09-19 14:40
厦门大学 数据分析师
题解 | #公式计算器#
list1=input().split() a=(eval(list1[0])+eval(list1[1]))*(eval(list1[2])-eval(list1[3])) print(a)
0
点赞
评论
收藏
分享
2023-09-19 14:36
厦门大学 数据分析师
题解 | #禁止重复注册#
current_users=['Niuniu','Niumei','GURR','LOLO'] new_users=['GurR','Niu Ke Le','LoLo','Tuo Rui Chi'] for i in new_users: if i.upper() in current_users: print(f'The user name {i} has already been registered! Please change it and try again!') else: print(f'Congratulations, the user name {i} is availabl...
0
点赞
评论
收藏
分享
2023-09-19 14:27
厦门大学 数据分析师
题解 | #菜品的价格#
a=input() if a=="pizza": print(10) elif a=="rice": print(2) elif a=="yogurt": print(5) else: print(8)
0
点赞
评论
收藏
分享
2023-09-19 14:24
厦门大学 数据分析师
题解 | #牛牛的绩点#
dict1 = {'A':4.0,'B':3.0,'C':2.0,'D':1.0,"F":0} list1=[] list2=[] while True: a=input() if a=="False": break else: b=int(input()) list1.append(dict1[a]*b) list2.append(b) avg=sum(list1)/sum(list2) print("%.2f"%avg)
0
点赞
评论
收藏
分享
2023-09-19 11:46
厦门大学 数据分析师
题解 | #验证登录名与密码#
a=input() b=input() if a=='admis' and b=='Nowcoder666': print('Welcome!') else: print('user id or password is not correct!')
0
点赞
评论
收藏
分享
2023-09-19 11:44
厦门大学 数据分析师
题解 | #字符列表的长度#
my_list=['P','y','t','h','o','n'] print('Here is the original list:') print(my_list,'\n') print('The number that my_list has is:',len(my_list),sep="\n")
0
点赞
评论
收藏
分享
2023-09-19 11:38
厦门大学 数据分析师
题解 | #程序员节#
user_id=['Niuniu' ,'Niumei' , 'Niu Ke Le'] for i in user_id: print(f"Hi, {i}! Welcome to Nowcoder!") print('Happy Programmers\' Day to everyone!')
0
点赞
评论
收藏
分享
2023-09-19 11:32
厦门大学 数据分析师
题解 | #判断列表是否为空#
my_list=[] if my_list == []: print('my_list is empty!') else: print('my_list is not empty!')
0
点赞
评论
收藏
分享
2023-09-19 11:30
厦门大学 数据分析师
题解 | #判断布尔值#
a=eval(input()) if a==True: print("Hello World") else: print("Erros!")
0
点赞
评论
收藏
分享
1
5
6
7
8
9
10
创作者周榜
更多
关注他的用户也关注了:
牛客网
牛客网在线编程
牛客网题解
牛客企业服务