fruit = "Apple" price = 100 print(f"{fruit:15} {price:5d}") fruit = "Shine Muscat" price = 1200 print(f"{fruit:15} {price:5d}") # プログラム4-17(出力を揃える)