#解答例
name="aaa"
waist=85
age=44
print(name, "さんは腹囲", waist, "cmで年齢は",age, "才ですね。")
if waist>=85 and age>=40:#この部分が変更されました
print(name,"さん、内臓脂肪蓄積注意です")
else:
print(name,"さん、腹囲は問題ありません")
This article is a Private article. Only a writer and users who know the URL can access it.
Please change open range to public in publish setting if you want to share this article with other users.
More than 3 years have passed since last update.
#解答例
name="aaa"
waist=85
age=44
print(name, "さんは腹囲", waist, "cmで年齢は",age, "才ですね。")
if waist>=85 and age>=40:#この部分が変更されました
print(name,"さん、内臓脂肪蓄積注意です")
else:
print(name,"さん、腹囲は問題ありません")
Register as a new user and use Qiita more conveniently