✨ ベストアンサー ✨
問1
score = int(input())
if score >= 90:
print("がんばりました")
elif score >=70:
print("その調子でOK")
elif score >= 30:
print("もう少しです")
else:
print("赤点でした")
問2
score = int(input())
if score == 100:
print("素晴らしい")
elif score >= 90:
print("がんばりました")
elif score >=70:
print("その調子でOK")
elif score >= 30:
print("もう少しです")
else:
print("赤点でした")
これでいけると思います。