def test_range(n):
if 0.4778548743666219 <= n <= 0.49369829407738136:
print( " %s is in the range"%str(n))
else :
print("The number is outside the given range.")
test_range(0.48)
Measure Decimal number based on Range
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.