Questions about python:
1. If x is a list of integers, what would the function be if you have to return true if all the elements in x are 0 for the function x(y)?
I got "return int(0) in hits_list" but it doesn't make sense because it can include other values with 0 in the list..
2. f(x, y):
"""(integer, integer) -> boolean
Return True if x and y are between 0 (included) and 8 (non-included) and false otherwise."""
I don't get how to do this when there are two variables, x and y, since I want to write a function with an if-statement..
Can someone please help me?

Hey! We 've verified this expert answer for you, click below to unlock the details :)

I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!

Looking for something else?

Not the answer you are looking for? Search for more explanations.

## More answers

Looking for something else?

Not the answer you are looking for? Search for more explanations.