I am working on the following problem:
Writing a program that calculates and prints a value according to the formula:
Input variable has values that are input to program in comma-separated sequence. The output should be formula calculated from input in comma-separated sequence.
This is the code I have so far:
D=(input("Enter numbers separated by commas:" ))
While i > 1
for each in set(list(D)):
But the output is not right. Please help