learn python the hard way (personal) -- Ex1
来源:互联网 发布:arm linux内核 编辑:程序博客网 时间:2024/06/05 15:33
For this exercise, try these things:
1.Make your script print another line.
print(‘’)
notice:(1)Python是自动换行,若要将内容执行在同一行,在行尾输入end=""
ex: print('a',end="")
print('b')
(2)输出中文时,需要在文档最开头加上
# coding: utf-8
2.Make your script print only one of the lines.
在其他行首全加上#
3.Put a # (octothorpe) character at the beginning of a line. What did it do? Try to find out what this character does.
#为注释符号
阅读全文
0 0
- learn python the hard way (personal) -- Ex1
- learn Python the hard way EX1
- learn python the hard way (personal) -- Ex0
- 【Python】Learn Python the hard way, ex1 简单print语句
- Learn Python The Hard Way
- Learn Python The Hard Way
- Learn Python the Hard Way ex48
- 学《learn python the hard way》(3)
- learn python the hard way 的ex48
- Learn Python The Hard Way-Ecercise1~5
- Learn Python The Hard Way-Ecercise6~10
- Learn Python The Hard Way-Ecercise11~15
- Learn Python The Hard Way-Ecercise16~20
- Learn Python The Hard Way-Ecercise21~25
- Learn Python The Hard Way-Ecercise26~30
- Learn Python The Hard Way-Ecercise31~35
- Learn Python The Hard Way-Ecercise36~40
- Learn Python The Hard Way exercise 42
- 对换
- 《App后台开发运维和架构实践》读书笔记
- Java MongoDB 保存图片
- Nutz 设计模式应用 --- 前言
- C语言用异或的方法将两个数的值互换
- learn python the hard way (personal) -- Ex1
- There is no getter for property named 'user' in 'class com.gao.model.Message
- Centos7-Python3.6.3安装
- 求某个范围内的完全数
- 表单校验-validate.js
- (九) Scrapy框架2
- PAT-2014.有理数四则运算(20)
- Ajax的缺点是什么
- JQuery实现添加删除数据