Ad
Code
Diff
  • def solution(param):
        return sum(p is True for p in param)>1
    • def solution(param):
    • return sum(p is True for p in param) > 1
    • return sum(p is True for p in param)>1
Code
Diff
  • print("hello\n5")
    • print("hello
    • "+'5')
    • print("hello
    • 5")
Code
Diff
  • print("hello\n"+'5')
    • print("hello", sum(range(2, 4)), sep='\n')
    • print("hello\n"+'5')