python6
print("MathHomework")
problem = input("Enter a math problem, or 'q' to quit: ")
while (problem != "q"):
print("The answer to ", problem, "is:", eval(problem) )
problem = input("Enter another math problem, or 'q' to quit: ")
problem = input("Enter a math problem, or 'q' to quit: ")
while (problem != "q"):
print("The answer to ", problem, "is:", eval(problem) )
problem = input("Enter another math problem, or 'q' to quit: ")
上一篇:skin to skin 鹿晗
下一篇:Python2
声明:以上文章均为用户自行添加,仅供打字交流使用,不代表本站观点,本站不承担任何法律责任,特此声明!如果有侵犯到您的权利,请及时联系我们删除。
文章热度:★☆☆☆☆
文章难度:☆☆☆☆☆
文章质量:☆☆☆☆☆
说明:系统根据文章的热度、难度、质量自动认证,已认证的文章将参与打字排名!
本文打字排名TOP20
- 1guagua_SAM... 01-25 09:58227 KPM
- 2游客79709344 07-04 09:23182 KPM
- 3游客15361342 01-22 22:33164 KPM
- 4pyqidi 08-07 18:06148 KPM
- 5游客15368294 01-22 18:51142 KPM
- 6游客18461972... 09-03 03:22138 KPM
- 7胡小杰¥-¥ 01-23 01:15134 KPM
- 8恐怖的僵尸 01-22 21:00131 KPM
- 9游客9718468 01-22 18:43131 KPM
- 10游客10802333 01-22 22:32123 KPM
- 11枫珍俊少 10-27 11:37115 KPM
- 12游客14579776... 03-18 11:20114 KPM
- 13游客15645645... 01-04 13:53112 KPM
- 14游客13157895... 04-24 16:02110 KPM
- 15游客15396844 01-22 21:20108 KPM
- 16*** 01-22 18:09108 KPM
- 17abcdeabcdeab... 01-28 09:23107 KPM
- 18拉菟 01-22 18:41105 KPM
- 19游客15392310 01-22 17:15105 KPM
- 20baoshengda 01-22 16:3797 KPM