标签: python python-3.x
这些代码中的yes_votes类型是什么? 如果是字符串,为什么不输入'或'? 如果是整数,“ _”是什么意思?
yes_votes = 42_572_654 no_votes = 43_132_495 percentage = yes_votes / (yes_votes + no_votes) '{:-9} YES votes {:2.2%}'.format(yes_votes, percentage)