Number=int(input(" Enter Number"))
print("Prime numbers between", 1, "and", Number, "are:")
for num in range(1, Number +1):
    if num > 1:
        for i in range(2, num):
            if(num % i) == 0:
                break
        else:
            print(num)

aecc87d7180add59c9f7b2abb334c727a7f255e6
<mask token>

<mask token>
print('Prime numbers between', 1, 'and', Number, 'are:')
for num in range(1, Number + 1):
    if num > 1:
        for i in range(2, num):
            if num % i == 0:
                break
        else:
            print(num)

Number = int(input(' Enter Number'))
print('Prime numbers between', 1, 'and', Number, 'are:')
for num in range(1, Number + 1):
    if num > 1:
        for i in range(2, num):
            if num % i == 0:
                break
        else:
            print(num)

Number=int(input(" Enter Number"))
print("Prime numbers between", 1, "and", Number, "are:")
for num in range(1, Number +1):
    if num > 1:
        for i in range(2, num):
            if(num % i) == 0:
                break
        else:
            print(num)
