当前位置:网站首页>The leader took credit for it. I changed the variable name and laid him off
The leader took credit for it. I changed the variable name and laid him off
2022-07-26 14:57:00 【Ponies can't cross the river】

Today I will introduce you to a new variable name е.
hi , This is not e Well ? What do you deny , Play with me .
Don't make complaints about it. , Let me show you a wave of code .
Type "help", "copyright", "credits" or "license" for more information.
>>> е = 1024
>>> e
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'e' is not defined
>>>
Clearly, the variable has been defined e, Why not defined Wrong. ??
I have a picture as proof , This is not what I changed to make everyone happy ,

as a result of е Not the one we know ‘ Billion ’. It is a Slavic character .

What about? , It's impossible to distinguish by visual inspection ?
>>> ord('e')
101
>>> ord('е')
1077
See the difference ?
So if we put e Change to е Words , Think about the consequences .
Postscript
There are few cases where a single letter is used as a variable name , Then we can mix it with other English letters .

This Bug The investigation must be very sour .
About Python Technology reserve
Learn from good examples Python Whether it's employment or sideline, it's good to make money , But learn to Python Still have a learning plan . Finally, let's share a complete set of Python Learning materials , For those who want to learn Python Let's have a little help !
One 、Python Learning routes in all directions
Python The technical points in all directions are sorted out , Form a summary of knowledge points in various fields , The use of it is , You can find the corresponding learning resources according to the above knowledge points , Make sure you learn more comprehensively .
Two 、Python Essential development tools

3、 ... and 、 The high-quality goods Python Learning books
When I learn a certain foundation , When you have your own understanding , I will read some books compiled by my predecessors or handwritten notes , These notes detail their understanding of some technical points , These understandings are quite original , You can learn different ideas .
Four 、Python Video collection
Watch the zero basics learning video , Watching video learning is the quickest and most effective way , Follow the teacher's ideas in the video , From foundation to depth , It's still easy to get started .

5、 ... and 、 Practical cases
Optical theory is useless , Learn to knock together , Do it , Can you apply what you have learned to practice , At this time, we can make some practical cases to learn .
6、 ... and 、Python Exercises
Check the learning results .
7、 ... and 、 Interview information
We learn Python Must be to find a well paid job , The following interview questions are from Ali 、 tencent 、 The latest interview materials of big Internet companies such as byte , And the leader Ali gave an authoritative answer , After brushing this set of interview materials, I believe everyone can find a satisfactory job .

This full version of Python A full set of learning materials has been uploaded CSDN, Friends can scan the bottom of wechat if necessary CSDN The official two-dimensional code is free 【 Guarantee 100% free 】

边栏推荐
- JS wave animation effect menu style
- Transc knowledge representation model
- 笔记(5)
- Lean product development: principles, methods and Implementation
- 31. Opinion based relational pivoting forcross domain aspect term extraction reading notes
- 基于CAS的SSO单点客户端配置
- VP视频结构化框架
- 【常微分方程求解及绘图之求解小船行走轨迹】
- Leetcode659. split the array into continuous subsequences (hash table)
- oss删除当前时间前两天的所有文件
猜你喜欢

Okaleido tiger is about to log in to binance NFT in the second round, which has aroused heated discussion in the community

PyTorch中 torch.nn与torch.nn.functional的区别

JS creative range select drag and drop plug-ins

C语言入门必刷100题合集之每日一题(1-20)

领导抢功劳,我改个变量名让他下岗了

JMeter distributed

下一代视觉Transformer:解锁CNN和Transformer正确结合方法

BSN IPFS(星际文件系统)专网简介、功能、架构及特性、接入说明

Maya imports the model into unity

14. Bridge-Based Active Domain Adaptation for Aspect Term Extraction 阅读笔记
随机推荐
自编码器 AE(AutoEncoder)程序
Network pictures are transferred locally, causing the kernel to exit
SSH that must be read on cloud native
c# 用移位 >> 和运算与 &判断两个 二进制数 是否发生过改变
Flask send_ Absolute path traversal caused by file function
Win11运行虚拟机死机了?Win11运行VMware虚拟机崩溃的解决方法
Simple implementation of pytorch
Is the MySQL index tree built before each search or when the index is built?
VBA 上传图片
Next generation visual transformer: Unlocking the correct combination of CNN and transformer
C# NanUI 相关功能整合
Whaledi message queue stability improvement practice
Figure introduction to neural network core dataset
What is the transport layer protocol tcp/udp???
The difference between torch.nn and torch.nn.functional in pytorch
Usage of nn.conv2d and nn.convtranspose2d functions in pytorch
31. Opinion-based Relational Pivoting forCross-domain Aspect Term Extraction 阅读笔记
填问卷,领奖品 | 诚邀您填写 Google Play Academy 活动调研问卷
JS analog clock with text label
Summary and analysis of image level weakly supervised image semantic segmentation