当前位置:网站首页>Common operators 9.21
Common operators 9.21
2022-07-27 19:56:00 【Hug Mo Mo】
One ,python The variable of
:
(1) meaning :1, The amount that can change while the program is running ;
2, Memory variable with name
(2) How to define variables :
Variable name = A variable's value
Strong data type language :Java c c++ c#
data type Variable name = A variable's value
?int num 100
Weak data type Language :python PHP ruby
(3) Named rules :
1, Variable names must have numbers , Case letters , Underline
2, Variable name cannot start with a number
3, You cannot use keywords or reserved words as variable names
4, Name variables as meaningful as possible
5, Try to follow the underline (name_age) Or camel Peak method ( Initial lowercase , Other words are capitalized )
Two , Common operators
Arithmetic operator :+ - * / % // **
Logical operators :and .or .not
Relational operator : > < .>=.<=.==.!
Assignment operator :
=
+=
-=
/=
//=
**=
Self addition and self subtraction operators , Be careful :python There is no such operator .
边栏推荐
- 疫情下我离职一年,收入增长了10倍
- [basic knowledge of deep learning - 48] characteristics of Bayesian network
- Detailed explanation of the underlying data structure of redis
- 四大组件之ContentProvider
- 【深度学习基础知识 - 44】逻辑回归实现多分类的方法
- Adults have only one main job, but they have to pay a price. I was persuaded to step back by personnel, and I cried all night
- ContextMenu (context menu)
- Systemservice (system service)
- 成年人只有一份主业是要付出代价的,被人事劝退后,我哭了一整晚
- SystemService(系统服务)
猜你喜欢
随机推荐
Oracle 简单的高级查询
文件操作防护
Adhering to the integration of software and hardware, one Hengke makes efforts to the intelligent educational robot market
[basic knowledge of deep learning - 45] distance calculation methods commonly used in machine learning
SystemService(系统服务)
Count the six weapons of the domestic interface cooperation platform!
Systemservice (system service)
[basic knowledge of in-depth learning - 40] Why does CNN have more advantages than DNN in the field of images
能上QQ但网页打不开
Intent (whether there is return value to jump)
Transaction log full problem handling in sqlserver 2008
mysql学习录(三)多表查询、子查询、分页查询、case语句、单行函数
Session攻击
FileOutputStream(文件储存)与FileInputStream(文件读取)
Use of jvisualvm
[basic knowledge of deep learning - 37] solve the imbalance between positive and negative samples
【深度学习基础知识 - 40】CNN为什么比DNN在图像领域更具优势
Marqueetextview (running lantern)
Datepicker and TimePicker
SharePreference(存储)









