info = [[170, 80], [160, 50], [180, 90]]

result = []
for i in range(len(info)):
    h = info[i][0] / 100
    w = info[i][1]
    bmi = w / (h ** 2)
    if bmi >= 25:
        result.append(i)

print(result)

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: