码迷,mamicode.com
首页 > 编程语言 > 详细

密歇根大学 - 人人都懂的编程课(Python)

时间:2015-02-23 15:27:34      阅读:995      评论:0      收藏:0      [点我收藏+]

标签:

人人都懂的编程课(Python)

Week03 Exercise

Rewrite your pay program using try and except so
that your program handles non-numeric input gracefully.

Enter Hours: 20
Enter Rate: nine
Error, please enter numeric input

密歇根大学 - 人人都懂的编程课(Python)

标签:

原文地址:http://www.cnblogs.com/yangke687/p/4298071.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!