225k views
0 votes
create a boolean variable called sucess that will be true if a number is between -10 and 10 inclusively python

User Weichch
by
5.9k points

1 Answer

3 votes

Answer:

success = -10 <= number <= 10

Step-by-step explanation:

I check that -10 is less than or equal to number, and number is less than or equal to 10.

User Fiona T
by
6.0k points