Python3?????? tuple ???????????????????????????????????????????????? ??? ?????????????????????
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Python3?????? tuple ???????????????????????????????????????????????? ??? ?????????????????????相关的知识,希望对你有一定的参考价值。
?????????pychar ocs pyc ?????? .com ?????? red ?????? types
?
- ???????Python : 3.7.0
- ?????????OS : Ubuntu 18.04.1 LTS
- ????????IDE : PyCharm 2018.2.4
- ??????Conda : 4.5.11
- ???typesetting : Markdown
?
code
[email protected]:~$ source activate py37
(py37) [email protected]:~$ ipython
Python 3.7.0 (default, Jun 28 2018, 13:15:42)
Type 'copyright', 'credits' or 'license' for more information
IPython 6.5.0 -- An enhanced Interactive Python. Type '?' for help.
In [1]: 1, # ???????????????????????????
Out[1]: (1,)
In [2]: () # ?????????
Out[2]: ()
In [3]: (1,) # ???????????????????????????
Out[3]: (1,)
In [4]: 8 * (1,2) # ??????????????????
Out[4]: (1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2)
In [5]: exit
(py37) [email protected]:~$ source deactivate
[email protected]:~$
?
resource
- [??????] docs.python.org/3
- [??????] www.python.org/dev/peps/pep-0008
- [??????] zh-google-styleguide.readthedocs.io/en/latest/google-python-styleguide/python_language_rules
- [??????] www.python.org/downloads/source
- [ PEP ] www.python.org/dev/peps
- [??????] www.cnblogs.com
- [??????] gitee.com
?
Python???????????????????????????????????????????????????????????????????????????
Python??????????????????????????????????????????????????????????????????????????????????????????????????????????????????
??????????????????????????????????????????????????????????????????
????????????????????????????????????????????????????????????????????????????????????????????????
以上是关于Python3?????? tuple ???????????????????????????????????????????????? ??? ?????????????????????的主要内容,如果未能解决你的问题,请参考以下文章
Python3?????? tuple ???????????????????????????????????????????????? ??? ?????????????????????