P53
P53 codeTony2001
python
2 years ago
221 B
14
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...