Skip to main content
1 of 3
avall
  • 1.6k
  • 1
  • 10
  • 17

Python

Code prints 5 which is correct answer for this task.

def int(a): return ~eval(a) def add(a,b): return int(a)+int(b) print ~add("2","2") 
avall
  • 1.6k
  • 1
  • 10
  • 17