# @title Dice simulator 2 import random nums = [1, 2, 3, 4, 5, 6] dices = [ ''' ''', ''' ┌──────────┐ │ │ │ ● │ │ │ └──────────┘''', ''' ┌──────────┐ │ ● │ │ │ │ ● │ └──────────┘''', ''' ┌──────────┐ │ ● │ │ ● │ │ ● │ └──────────┘''', ''' ┌──────────┐ │ ● ● │ │ │ │ ● ● │ └──────────┘''', ''' ┌──────────┐ │ ● ● │ │ ● │ │ ● ● │ └──────────┘''', ''' ┌──────────┐ │ ● ● │ │ ● ● │ │ ● ● │ └──────────┘''' ] def roll_dice(): global dice dice = random.randint(1, 6) dice2 = random.randint(1, 6) return dice while 1: print("Rolling Dice...") dice_roll = roll_dice() typo = dice print(f"{dices[dice]}") print("Verifying if human") value = int(input("Enter the number on the dice: ")) if value != dice: print("You are not human.") break else: print("Correct!") break