(a, i)
| 139 | |
| 140 | # ladder code |
| 141 | def ladder(a, i): |
| 142 | global players |
| 143 | |
| 144 | if a == 4: |
| 145 | players[i] = 14 |
| 146 | elif a == 8: |
| 147 | players[i] = 30 |
| 148 | elif a == 20: |
| 149 | players[i] = 38 |
| 150 | elif a == 40: |
| 151 | players[i] = 42 |
| 152 | elif a == 28: |
| 153 | players[i] = 76 |
| 154 | elif a == 50: |
| 155 | players[i] = 67 |
| 156 | elif a == 71: |
| 157 | players[i] = 92 |
| 158 | elif a == 88: |
| 159 | players[i] = 99 |
| 160 | else: |
| 161 | return players[i] |
| 162 | print(f"You got a ladder now you are at {players[i]}") |
| 163 | |
| 164 | return players[i] |
| 165 | |
| 166 | |
| 167 | # while run: |