zoukankan
html css js c++ java
一月5日
# 例1:if 基本用法
flag
=
False
name
=
'
luren
'
if
name
==
'
python
'
:
# 判断变量是否为 python
flag
=
True
# 条件成立时设置标志为真
print
'
welcome boss
'
# 并输出欢迎信息
else
:
print
name
# 条件不成立时输出变量名称
输出结果为:
luren
# 输出结果
查看全文
相关阅读:
Error和Exception的区别
当try和finally都包含return时的执行顺序
String,StringBuffer处理字符串的区别
使用idea对XML的增删改查
IO流,字节流复制文件,字符流+缓冲复制文件
MySQL同步故障:" Slave_SQL_Running:No" 主从同步的从表进行了写操作
常用MQ的对比冷知识
Redis-避免缓存穿透
Docker容器与虚拟化技术——部署KVM虚拟化平台
HTML日记 第三篇 关于图片的冷知识(附带一些浮动的基础知识)
原文地址:https://www.cnblogs.com/zxpnb/p/14234925.html
最新文章
leetcode 40. Combination Sum II
leetcode 39. Combination Sum
leetcode 22. Generate Parentheses
leetcode 17. Letter Combinations of a Phone Number
codeforce#365D Free Market
hdu 3642 Get The Treasure
codeforces#588D
hdu3397 Sequence operation
做题头文件
矩阵快速幂模板
热门文章
高精度模板
splay模板
....
rmq模板
【转】常见系统中文字体的英文名
java面试题
在java中,为啥使用char[]存储密码,而不适用String?
计算一个字符串某个字符出现的次数
HashMap和HashTable的区别
ArrayList和Vector的区别?
Copyright © 2011-2022 走看看