Defining a FUNCTION through which we pass a variable name and in return we get a new variable assigned with a user_inp value.
I Tried this :
def Uinp(variable):
variable = eval(input(f'Enter {variable} value : '))
return variable
#trying the function.
x.Uinp
#trying to call the function.
Uinp(x)
print(x)
But coudn't get the desired results..