CodePudding user response:
Nums=input (" please enter n (n> 1) Numbers (comma-separated) : ')
Ls=[int (n) for n in nums. Split (', ')]
Lt=list ()
For I in range (len (ls) :
T=1
For j in range (len (ls) :
If j==I:
The continue
The else:
T=t * ls [j]
Lt append (t)
Print (ls)
Print (lt)