请问ifMax和vote2p是什么意思呢?

def all_vote(num,ifMax):
#第一步清空投票
for j in range(0, num):
vote[j] = 0
#第二步相同最高票数则只能针对最高票数投票,否则直接投票
for j in range(0, num):
if (j not in dead):
if ifMax:
vote2p = int(input('请%d号玩家投票,只能针对最高票数的几位\n' % (j + 1))) - 1
else:
vote2p = int(input('请%d号玩家投票\n' % (j + 1))) - 1
vote[vote2p] += 1

https://zhidao.baidu.com/question/269121837365376685.html