Only show relevant time units in Python

前端 未结 0 1630
轮回少年
轮回少年 2021-02-03 10:44

Currently I have a program that outputs flight time but sometimes it\'s less than an hour and in that case I don\'t want a 0 hour displayed. Of course I could use an if statemen

相关标签:
回答
  • 消灭零回复
提交回复
热议问题