python exercise 11
来源:互联网 发布:网络安全法的基本特性 编辑:程序博客网 时间:2024/06/08 05:31
:``%r`` 用作 debug,``%s`` 用作显示。
print ("How old are you?",)age = input()print ("How tall are you?",)height = input()print("how much do you weigh?",)weight = input()print ("So, you're %r old, %r tall and %r heacy." % (age, height, weight))# 打印出来后我的字符串前面有个 u ,像 u'35' 这样。 # 它表示 Python 告诉你你的字符串是 unicode。使用 %s 就一切正常了
0 0
- Python Exercise #11
- python exercise 11
- python exercise
- Python Exercise #1
- Python Exercise #2
- Python Exercise #3
- Python Exercise #4
- Python Exercise #5
- Python Exercise #6
- Python Exercise #7
- Python Exercise #8
- Python Exercise #9
- Python Exercise #10
- Python Exercise #12
- Python Exercise #13
- Python Exercise #14
- Python Exercise #15
- Python Exercise #16
- 面向接口编程的优点
- 反射_获取class文件对象的三种方式
- gcc-6.3.0 构建
- mybatis接口式编程
- python 下载百度图片
- python exercise 11
- 循环跳转语句
- centos环境下java的file操作对象使用中文文件操作异常问题
- SYD8801固件烧录方法
- selenium使用心得
- sql语句查询一对一,一对多,多对多
- I/O多路复用
- 2016.10.29
- python exercise12