Computer Science, asked by akshitponnamaneni, 8 months ago

Create a program to check whether a given number exists in the range.

Answers

Answered by tanishsarmah
1

Answer:

n = int(input("Enter a number :\n")

r = int(input("Enter the range :\n")

for i in range(r):

if n ==i:

print(f"The number {n} exists in the given range")

Explanation:

It's a python program . Make sure you have python 3.7 or higher installed.

Answered by barani79530
0

Explanation:

Write a Python function

Similar questions