|
|
вернуться в форумPython 3.4: Why my solution is wrong? Послано Nabi 19 июл 2017 13:19 a=int(input()) tasks_left=12-a if tasks_left*45<=240: print('TRUE') else: print('FALSE') Re: Python 3.4: Why my solution is wrong? Because you should output "YES" /"NO" , not "TRUE" /"FALSE" Re: Python 3.4: Why my solution is wrong? Послано Nabi 21 июл 2017 10:33 Edited by author 21.07.2017 10:33 Re: Python 3.4: Why my solution is wrong? Послано Nabi 21 июл 2017 10:35 but it doesnt work. a=int(input('input solved task:')) tasks_left=12-a if tasks_left*45<=240: print('YES') else: print('NO') Re: Python 3.4: Why my solution is wrong? Re: Python 3.4: Why my solution is wrong? Послано Nabi 24 июл 2017 13:19 Thanks. Now it's work. i've changed from a=int(input('input solved task:')) to a=int(input()) |
|
|