I have written a code and run it, and it works fine. But I wanted to understand what is happening in the following:
nums = [4,5,1,8] target = 12 def TwoSu