Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- n1,n2,n3,n4 = list(map(eval,input('Please enter 4 digits with spaces : ').split()))
- print('Sum of all : ',n1+n2+n3+n4)
- print('Product of all : ',n1*n2*n3*n4)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement