20180410python笔记-Tony老师讲课,,20180410py
20180410python笔记-Tony老师讲课,,20180410py
20180410python笔记-Tony老师讲课
Print(‘潭州 %s,%s 在上课,课堂人数 %d %(‘课堂’,’Tony’,’363’)’)
练习出错记录:
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
Microsoft Windows [版本 6.1.7601]
版权所有 (c) 2009 Microsoft Corporation。保留所有权利。
C:\Users\Administrator>python3
Python 3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 17:00:18) [MSC v.1900 64 bit (AMD6
4)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> print(‘潭州 %s, %s 在上课 ,课堂人数 %d‘%(‘课堂‘,‘An tony‘,3636‘‘)
File "<stdin>", line 1
print(‘潭州 %s, %s 在上课 ,课堂人数 %d‘%(‘课堂‘,‘An tony‘,3636‘‘)
^
SyntaxError: invalid syntax
>>> print(‘潭州 %s, %s 在上课 ,课堂人数 %d‘%(‘课堂‘,‘Antony‘,3636‘‘)
File "<stdin>", line 1
print(‘潭州 %s, %s 在上课 ,课堂人数 %d‘%(‘课堂‘,‘Antony‘,3636‘‘)
^
SyntaxError: invalid syntax
>>> print(‘潭州 %s, %s 在上课 ,课堂人数 %d‘%(‘课堂‘,‘Antony‘,‘363‘)
...
...
... ^Z
C:\Users\Administrator>python3
Python 3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 17:00:18) [MSC v.1900 64 bit (AMD6
4)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> print(‘潭州 %s,%s 在上课,课堂人数 %d %(‘课堂’,’Tony’,’363’)’)
File "<stdin>", line 1
print(‘潭州 %s,%s 在上课,课堂人数 %d %(‘课堂’,’Tony’,’363’)’)
^
SyntaxError: invalid character in identifier
>>> a
先继续听
Print(“tony1+tony2 :”,tony1+tony2)
Print(“tony1*2 :”,tony1*2)
Print(tony1
def find(self, sub, start=None, end=None)
\\\开始索引,结束索引
print (‘潭州’)
继续听课
20180410python笔记-Tony老师讲课
相关内容
- 如何查看本机安装的python支持哪种.whl文件,,第一步:
- Python-面向对象编程,,面向对象面向对象最重
- 解决:Elipse配置Jython Interpreters时报错Error: Python stdlib
- python+minicap(二),,一、push文件至手
- windows下使用Python出现No module named tkinter.ttk,,1. 编辑工
- python+django+vue搭建前后端分享项目,,以前一直是做基于
- python-----01(面向对象编程基础),,在python中,一
- Python 爬虫 --- urllib,,对于互联网数据,Py
- Python------1,,在python中,一
- Python 表格打印,,Python编程快速
评论关闭