so my program's aim is to compute the square of the difference of each parameter and the mean of the parameters. This code snippet runs perfectly with the correct resutls, but I want my program receives user inputs instead of inserting the arguments manualy.
Thank you in advance for your help
P.S.1 Yes, the program should have no limitations at the number of arguments that receives, as it seems
P.S.2 "Dwse arithmo" is the greek phrase for "Give a number" but with latin characters
import statistics as st
def squares(*args):
for i in args:
s=(i-st.mean(args))**2
yield s
while True:
x=input("Dwse arithmo")
for r in squares(3,4,5):
print(r)