You are on page 1of 1

2019/9/20 2-3 编程练习-慕课网就业班

 / Python零基础入门 / 步骤一 · 2-3 编程练习 

hello.py

2-3 编程练习 1 # 通过print函数输出字符串“HELLO IMOOC”


2
通过print函数实现字符串“HELLO IMOO 3 print("HELLO IMOOC")
 C”、字符串“2020”、数字“2020”的 4 # 通过print 函数输出字符串“2020”
章节 5 print("2020")
输出
6
7 # 通过print 函数输出数字 2020
8 print(2020)

问答
任务
 1、通过ptint函数输出字符串"HELLO IMO
笔记
OC"
2、通过print函数输出字符串"2020"
 3、通过print函数输出数字2020
资料

任务提示
注意:print函数输出字符串类型和输出数
字类型的使用方法

重置代码 提交

https://class.imooc.com/lesson/913#mid=24539 1/1

You might also like