首页
题库
公司真题
专项练习
面试题库
在线编程
面试
面试经验
AI 模拟面试
简历
求职
学习
基础学习课
实战项目课
求职辅导课
专栏&文章
竞赛
我要招人
发布职位
发布职位、邀约牛人
更多企业解决方案
AI面试、笔试、校招、雇品
HR免费试用AI面试
最新面试提效必备
登录
/
注册
牛客343851179号
获赞
0
粉丝
0
关注
1
看过 TA
1
哈尔滨工程大学
2027
数据分析师
IP属地:黑龙江
暂未填写个人简介
私信
关注
拉黑
举报
举报
确定要拉黑牛客343851179号吗?
发布(65)
评论
刷题
收藏
牛客343851179号
关注TA,不错过内容更新
关注
02-26 12:05
哈尔滨工程大学 数据分析师
题解 | 判断布尔值
w=input() if w==1: print("Hello World!") else: print("Erros!")
0
点赞
评论
收藏
分享
02-26 12:03
哈尔滨工程大学 数据分析师
题解 | 公式计算器
x,y,z,k=input().split() w=int(x)+int(y) p=int(z)-int(k) w1=w*p print(w1)
0
点赞
评论
收藏
分享
02-26 11:41
哈尔滨工程大学 数据分析师
题解 | 俱乐部的成员
x=input().split() y=input() if y in x: print("True") else: print("False")
0
点赞
评论
收藏
分享
02-26 11:39
哈尔滨工程大学 数据分析师
题解 | 俱乐部的成员
x=input().split() y=input() z=0 for i in range(len(x)): if y==x[i-1]: z+=1 else: z+=0 w=bool(z>=1) print(w)
0
点赞
评论
收藏
分享
02-26 11:33
哈尔滨工程大学 数据分析师
题解 | 字符串之间的比较
x=input() y=input() w=bool(x == y) print(w) z=bool(x.lower()==y.lower()) print(z)
0
点赞
评论
收藏
分享
02-26 11:26
哈尔滨工程大学 数据分析师
题解 | 牛牛的逻辑运算
a=input().split() x=int(a[0]) y=int(a[1]) x1=x and y x2=x or y print(x1) print(x2) x3=bool(not x) x4=bool(not y) print(x3) print(x4)
0
点赞
评论
收藏
分享
02-26 11:12
哈尔滨工程大学 数据分析师
题解 | 不低于与不超过
a=input().split() k=float(a[0]) x=float(a[1]) y=float(a[2]) w1=bool(k<=x) w2=bool(k>=y) print(w1) print(w2)
0
点赞
评论
收藏
分享
02-26 11:04
哈尔滨工程大学 数据分析师
题解 | 谁的数字大
a=input().split() w=bool(a[0]>a[1]) print(w) w=bool(a[0]<a[1]) print(w)
0
点赞
评论
收藏
分享
02-26 11:00
哈尔滨工程大学 数据分析师
题解 | 朋友的年龄是否相等
list=input().split() a=bool(list[0]==list[1]) print(a)
0
点赞
评论
收藏
分享
02-26 10:54
哈尔滨工程大学 数据分析师
题解 | 除法与取模运算
x=int(input()) y=int(input()) a=x//y b=x%y print(a,b) c=x/y print('{:.2f}'.format(c))
0
点赞
评论
收藏
分享
02-26 10:48
哈尔滨工程大学 数据分析师
题解 | 乘法与幂运算
x=int(input()) y=int(input()) print(x*y) print(x**y)
0
点赞
评论
收藏
分享
02-26 10:45
哈尔滨工程大学 数据分析师
题解 | 牛牛的加减器
x=int(input()) y=int(input()) print(x+y) print(x-y)
0
点赞
评论
收藏
分享
02-26 10:43
哈尔滨工程大学 数据分析师
题解 | 团队分组
group_list=[ 'Tom', 'Allen', 'Jane', 'William', 'Tony' ] a=[group_list[0],group_list[1]] print(a) b=[group_list[1],group_list[2],group_list[3]] print(b) c=[group_list[3],group_list[4]] print(c)
0
点赞
评论
收藏
分享
02-26 10:40
哈尔滨工程大学 数据分析师
题解 | 用列表实现队列
queue = [1, 2, 3, 4, 5] queue.pop(0) print(queue) queue.pop(0) print(queue) queue.append(int(input())) print(queue)
0
点赞
评论
收藏
分享
02-26 10:33
哈尔滨工程大学 数据分析师
题解 | 用列表实现栈
a=int(input()) stack = [1, 2, 3, 4, 5] stack.pop() print(stack) stack.pop() print(stack) stack.append(a) print(stack)
0
点赞
评论
收藏
分享
1
2
3
4
5
创作者周榜
更多
关注他的用户也关注了:
牛客网
牛客网在线编程
牛客网题解
牛客企业服务