input().split(). Write a function sum_of_line(line) that takes a string line of space-separated integers and returns their sum as an int.sum_of_line("3 5 7")15
3 + 5 + 7 = 15.
sum_of_line("10")10
A single number on the line.
`line.split()` handles extra/multiple spaces automatically.
Map each token through int() before summing.