P53
P53 codeTony2001
python
10/28/2023 7:13 AM
296 B
22
Indexable
def dog_trouble(a, b): #a = bark ; b = hour
if a == 'True':
if int(b) < 6 or int(b) > 22:
return True
else:
return False
else:
return False
print(dog_trouble(input('Bark: '), input('Hour: ')))Editor is loading...