首页
题库
公司真题
专项练习
面试题库
在线编程
面试
面试经验
AI 模拟面试
简历
求职
学习
基础学习课
实战项目课
求职辅导课
专栏&文章
竞赛
搜索
我要招人
发布职位
发布职位、邀约牛人
更多企业解决方案
AI面试、笔试、校招、雇品
HR免费试用AI面试
最新面试提效必备
登录
/
注册
牛客627469855号
获赞
0
粉丝
0
关注
3
看过 TA
2
西安邮电大学
2019
机械设计/制造
IP属地:陕西
暂未填写个人简介
私信
关注
拉黑
举报
举报
确定要拉黑牛客627469855号吗?
发布(34)
评论
刷题
收藏
牛客627469855号
关注TA,不错过内容更新
关注
2024-03-12 10:11
西安邮电大学 机械设计/制造
题解 | #提取不重复的整数#
number = int(input()) number = str(number) result ='' for i in number[::-1]: if i not in result: result += i print(int(result))
0
点赞
评论
收藏
分享
2024-03-12 09:45
西安邮电大学 机械设计/制造
题解 | #取近似值#
number = float(input()) number,cemal = divmod(number,1) if cemal<0.5: print(int(number)) else: print(int(number)+1)
0
点赞
评论
收藏
分享
2024-03-12 09:30
西安邮电大学 机械设计/制造
题解 | #计算某字符出现次数#
word1 = input() word2 = input() count = 0 for i in word1: if word2.lower() == i.lower(): count =count + 1 print(count)
0
点赞
评论
收藏
分享
2024-03-12 09:16
西安邮电大学 机械设计/制造
题解 | #字符串最后一个单词的长度#
words = input() words = words.split() print(len(words[-1]))
0
点赞
评论
收藏
分享
1
2
3
创作者周榜
更多
关注他的用户也关注了:
牛客网
牛客网在线编程
牛客网题解
牛客企业服务