Advertisements
Advertisements
Question
Write a logical expression corresponding to the following statement in Python and evaluate the expressions (assuming variables num1, num2, num3, first, middle, and last are already having meaningful values):
6.75 is between the values of integers num1 and num2.
One Line Answer
Advertisements
Solution
(6.75 >= num1) and (6.75 <= num2)shaalaa.com
Is there an error in this question or solution?
