标签:
1.raw_input的使用
从键盘读取信息,返回字符串。
例:
hrs = raw_input("Enter Hours:")pay=raw_input("Enter Pay:")print float(hrs)*float(pay)
2.try: except: 类似c中的try throw catch
python
原文地址:http://www.cnblogs.com/GordenTam/p/5524318.html