My issue
help
My code
# update the code below to solve the problem
n=5
for i in range(1,11):
if i==n:
continue
print(n)
Learning course: Learn Python
Problem Link: CodeChef: Practical coding for everyone
help
# update the code below to solve the problem
n=5
for i in range(1,11):
if i==n:
continue
print(n)
Learning course: Learn Python
Problem Link: CodeChef: Practical coding for everyone
@r2021101293
for n , u have to take it as a input from the user .
like this.
# Solution as follows
n = int(input())
for i in range(1, 11):
if i == n:
continue
print(i)