ENG
RUS
Timus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board
Discussion of Problem
1068
. Sum
what is my .problem(invalid syntax) on python 2.7
Posted by
Bartenal
22 Feb 2016 05:23
>> a=10
>>> b=1
>>> if a>=1:
c=((b+a)*a)/2
print c
55
>>> elif a<=1:
SyntaxError: invalid syntax
Edited by author 22.02.2016 05:32
© 2000–2024
Timus Online Judge Team
. All rights reserved.