+ 2

Why return 0

rk = [1,2,3,4,5] rk2 = [2,4,6,8,10] rk = int() rk2 = int() print(rk+rk2)

3rd Nov 2022, 11:05 AM
Rishikesh Pandey
1 Odpowiedź
+ 7
int() # no argument, it returns 0 so both 0+0 = 0
3rd Nov 2022, 11:34 AM
Jayakrishna 🇮🇳