Ad
  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    Your code is wrong. See the input format:

    test.assert_equals(open_or_senior([(45, 12),(55,21),(19, -2),(104, 20)]),['Open', 'Senior', 'Open', 'Senior'])
    

    It is a list of tuples. So, data[0] is a tuple, and you can't use >= as the error says. And the output should be a list of strings. The kata is fine, your code is not. Please read this: https://docs.codewars.com/training/troubleshooting

  • Custom User Avatar

    this site is broken bro; i wrote a simple solution but its saying some nonsense about ">= not supported between instances of tuple and int"

    so i copied&pasted into vscode my solution, gave it one of the basic test cases and IT WORKED,
    you dont understand how unbelievably angry i am right now

    p.s. i used python