Take Multiple Input in one String

 


n=list(map(int,input("Enter number ").split(',')))
print(f'The Sum of Given Number = {sum(n)}')

Comments

Popular posts from this blog

React Installation with Vite and Tailwind css (Steps to Installation)

Insert Data In mongoDb

Class methods as an alternative Constructor