+ 1
Why error is coming in for loop
n=int(input ('enter a no') for i in range(1,n+1): n=n*i print (n)
2 Réponses
+ 5
You're missing a closing bracket at the end of line 1.
+ 3
Thanks bro I got it
n=int(input ('enter a no') for i in range(1,n+1): n=n*i print (n)