0
点赞
收藏
分享

微信扫一扫

Python编程——流程控制之for语句

Silence潇湘夜雨 2022-02-01 阅读 73
pythoncentos

Python编程——流程控制之for语句

 

1、for语句

注意:代码块缩进原则

Eg1:当序列是字符串时

[root@cate my_python]# vim test_for

[root@cate my_python]# python test_for

hello world

hello world

举报

相关推荐

0 条评论