当前位置:网站首页>LintCode 283. 三数之中的最大值
LintCode 283. 三数之中的最大值
2022-08-09 02:23:00 【Leleprogrammer】
LintCode第283题:三数之中的最大值
这道题也只有入门难度,非常简单,直接上代码
class Solution:
"""
@param num1: An integer
@param num2: An integer
@param num3: An integer
@return: an interger
"""
def max_of_three_numbers(self, num1, num2, num3):
# write your code here
return max((num1,num2,num3))
边栏推荐
猜你喜欢
Summary of Database Design
MT4/MQL4入门到精通EA教程第一课-MQL语言常用函数(一)OrderSend()函数
Redis - 时间序列数据类型的保存方案和消息队列实现
Force buckled brush problem record 7.1 -- -- -- -- -- 707. The design list
eladmin容器部署超详细过程
【剑指offer65】不适用加减乘除做加法
程序员的日常生活 | 每日趣闻
Likou Brush Question Record 5.1-----59. Spiral Matrix II
A40i gxl3680 ts_print报错:tslib: Selected device is not a touchscreen (must support ABS and KEY event
力扣刷题记录4.1-----209. 长度最小的子数组
随机推荐
18.flink Table/Sql API之 catlog
电磁辐射安全标准及检测方法
MT4/MQL4 Getting Started to Mastering EA Tutorial Lesson 1 - MQL Language Common Functions (1) OrderSend() Function
【剑指offer65】不适用加减乘除做加法
<爆>2022中文版-《海外博士申请指南-材料准备、时间线、套磁、面试及录取》免费分享
2022/8/8 Competition thinking + state pressure dp
终于有人把灰度发布架构设计讲明白了
MT4/MQ4L入门到精通EA教程第二课-MQL语言常用函数(二)-账户信息常用功能函数
Force buckled brush problem record 7.1 -- -- -- -- -- 707. The design list
ROS 、SLAM 学习 error整理
物联网未来:未来五年的预期
C#计算SHA1加密和base64编码
炫酷-轮播图-走马灯
Duplicate class com.google.common.util.concurrent.ListenableFuture found in modules
eladmin container deployment super detailed process
MT4 / MQL4 entry to the master of EA course lesson two - commonly used functions
Z-Game on grid(牛客多校赛)
Flume (四) --------- Flume 企业开发案例
Line segment tree of knowledge
php过滤特殊字符(仅保留中文、字母、数字、下划线)