prog9_8.py

forecast = ("雪", -1, -7, 0.8)
weather, high, low, prec = forecast
print(f"{weather} {high}℃/{low}℃ {prec*100} %")

# プログラム9-8(代入文でのアンパック)