python练习-for in str
2017-01-10 16:02
405 查看
for coolguy in ("tom","jerry","alex"): print coolguy ,"is coolest guy ever!"
resultC:\Python27\python.exe C:/Users/hunk.hu.BWH/PycharmProjects/untitled/coolguy.pytom is coolest guy ever!jerry is coolest guy ever!alex is coolest guy ever!Process finished with exit code 0
相关文章推荐
- python练习- for in range()
- Python学习笔记十二:列表(4)--len 、in、For的使用
- set timeout for a shell command in python
- python for in 语法 一览
- for loop in python demo
- What does PEP stand for in Python
- for…in在python中的例子
- Python入门教程-13 for-in
- Tools for Machine Learning in Python(scikit-learn)
- Decorators for Functions and Methods in python
- pydev+eclipse+python3.4运行hello word,提示Error in sitecustomize; set PYTHONVERBOSE for traceback:
- How can I install Easy_Install for Python 2.6.4 in Mac OSX 10.4.11【转】
- pyjamas build AJAX apps in Python (like Google did for Java)
- install python 3.2, django and eclipse pydev plugin in mac for python devolopment
- python学习第五天 - 分支循环(for...in,break,continue)
- python新手必碰到的问题---encode与decode,中文乱码,for 循环 in判断中文
- 转载:Setup OpenCV for Python in Windows
- python plot for matplotlib in pythonxy platform
- python for line in file 只能读取一遍
- Python 2.7 Data Type for Text Strings: Unicode and Str