function getRectArea(width, height) {
if (width > 0 && height > 0) {
return width * height;
}
return 0;
}
console.log(getRectArea(3, 4));
// expected output: 12
console.log(getRectArea(-3, 4));
// expected output: 0
def label(number: float)-> str:
return "Win" if number > 0 else "Lose"
print(label(0.1))
#output
#"Win"