JavaShuo
栏目
标签
python 基础2
时间 2021-01-20
栏目
Python
繁體版
原文
原文链接
一、作用域 对于变量的作用域,执行声明并在内存中存在,该变量就可以在下面的代码中使用。 1 2 3 if 1 = = 1 : name = 'wupeiqi' print name 下面的结论对吗? 外层变量,可以被内层变量使用 内层变量,无法被外层变量使用 二、三元运算 1 result = 值 1 if 条件 else 值 2 如果条件为真:result = 值
>>阅读原文<<
相关文章
1.
Python基础(2)
2.
Python基础2
3.
Python基础----2
4.
python基础2
5.
python基础——2
6.
Python基础-day02-2
7.
Python的基础2
8.
Python基础-day01-2
9.
2.Python基础:day1
10.
Python之路--python基础2
更多相关文章...
•
R 语言基础
-
R 语言教程
•
Kotlin 基础语法
-
Kotlin 教程
•
Kotlin学习(二)基本类型
•
☆基于Java Instrument的Agent实现
相关标签/搜索
Python基础-10
Python基础 05
Python基础
Python基础 06
Python基础 04
Python基础 09
Python基础-1
Python基础 02
Python基础 07
基础
Python
PHP 7 新特性
MySQL教程
Spring教程
0
分享到微博
分享到微信
分享到QQ
每日一句
每一个你不满意的现在,都有一个你没有努力的曾经。
最新文章
1.
【Java8新特性_尚硅谷】P1_P5
2.
SpringSecurity 基础应用
3.
SlowFast Networks for Video Recognition
4.
074-enable-right-click
5.
WindowFocusListener窗体焦点监听器
6.
DNS部署(二)DNS的解析(正向、反向、双向、邮件解析及域名转换)
7.
Java基础(十九)集合(1)集合中主要接口和实现类
8.
浏览器工作原理学习笔记
9.
chrome浏览器构架学习笔记
10.
eclipse引用sun.misc开头的类
本站公众号
欢迎关注本站公众号,获取更多信息
相关文章
1.
Python基础(2)
2.
Python基础2
3.
Python基础----2
4.
python基础2
5.
python基础——2
6.
Python基础-day02-2
7.
Python的基础2
8.
Python基础-day01-2
9.
2.Python基础:day1
10.
Python之路--python基础2
>>更多相关文章<<