0
Error
n=int(input()) tot = (n//2)(n//2+1)/2 print((tot*2-(1-n%2)(n//2))//(n+1)) I get this error: 'int' object is not callable Why?
4 Antworten
+ 2
Missing * (multiplication opearator) between.
Ex: (n)*(n-1)
0
What are you trying to do? I mean what are you calculating here?
0
Ipang
Its hard to explain... Im trying to calculate something without using if statements, its actually pretty easy with if...
0
Jayakrishna
Woah ur right, how could I not see that! thank u