+ 1
Why is this returning errors
2 ответов
+ 7
In line 17, you're using integers as a condition of if statement, apparently you can't to that. Either use "getproper(x)>some_value" or make the function return a boolean.
In line 45 you're trying to output from a function that returns nothing. Either make the function return something, or remove WriteLine and keep the function as it is.
Here is a working code, modify the condition to suit your needs.
https://code.sololearn.com/cdT8iyhI4y3J/?ref=app
+ 2
Thank you so much