News

lst = input("\n\t Enter the list of elements : ").split()#Taking input from the user numbers = [float(x) for x in lst] #Converting input values to float (optional, remove if dealing with strings) ...