python编程基础
遇到问题上谷歌
StackOverlow
提出你想做什么,而不是你做了什么
指出错误的地方,简要描述
将错误和代码复制
表达式
1.表达式
表达式包含 值(2)和 操作符(+)
Python 3.8.5 (tags/v3.8.5:580fbb0, Jul 20 2020, 15:57:54) [MSC v.1924 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license()" for more information.
>>> 2=2
SyntaxError: cannot assign to literal
>>> 2+2