prog4_6.py

A = 1.496e+8
c = 2.9979e+5
sec = int(A/c)
print(sec//60, "分", sec%60, "秒かかります")

# プログラム4-6(太陽光の到達時間)