zoukankan
html css js c++ java
三元运算
三元运算又称三目运算。
如下代码:
a = 2 if 1>2 else 3
print(a)
翻译一遍就是:
当满足if后面的条件时 a=2,不满足则a=3
查看全文
相关阅读:
OSU!
树
旅行
序列
致摸鱼两千年后的你
生成函数
小x游世界树
猫
画画
OSU!
原文地址:https://www.cnblogs.com/jt925/p/10199267.html
最新文章
数论---lcm和gcd
背包问题
POJ 3253 Fence Repair
next_permutation(全排列算法)
二分查找(模板)
STL中的查找
洛谷T89643 escape
洛谷T89644 palindrome回文串
「算法笔记」背包问题解题思路
Hello, CN-Blogs!
热门文章
NOIP2021游记
PH算法
cf1158F
2019summer summary
Ynoi(5/35)
多项式
离线二次莫队
burnside&polya
近期的做题总结
noi2018 情报中心
Copyright © 2011-2022 走看看