import random

keepplaying = True  
while keepplaying == True:
  myInput = input("Bet your color Type: Red or Black:")
  myInput = myInput.lower()
  computerInput = random.randint(1,2)
  
  if computerInput == 1:
    computerSelection = "red"
  elif computerInput == 2:
    computerSelection = "black"
  
  if computerSelection == myInput:
    print("You win!")
  else:
    print("You lose")
    
  user_input = input("Do you want to continue playing?")
  if user_input == "no":
    keepplaying = False

525fa339ac3e52bc6fde7722499e2461bb4617a4
<mask token>

<mask token>
while keepplaying == True:
    myInput = input('Bet your color Type: Red or Black:')
    myInput = myInput.lower()
    computerInput = random.randint(1, 2)
    if computerInput == 1:
        computerSelection = 'red'
    elif computerInput == 2:
        computerSelection = 'black'
    if computerSelection == myInput:
        print('You win!')
    else:
        print('You lose')
    user_input = input('Do you want to continue playing?')
    if user_input == 'no':
        keepplaying = False

<mask token>
keepplaying = True
while keepplaying == True:
    myInput = input('Bet your color Type: Red or Black:')
    myInput = myInput.lower()
    computerInput = random.randint(1, 2)
    if computerInput == 1:
        computerSelection = 'red'
    elif computerInput == 2:
        computerSelection = 'black'
    if computerSelection == myInput:
        print('You win!')
    else:
        print('You lose')
    user_input = input('Do you want to continue playing?')
    if user_input == 'no':
        keepplaying = False

import random
keepplaying = True
while keepplaying == True:
    myInput = input('Bet your color Type: Red or Black:')
    myInput = myInput.lower()
    computerInput = random.randint(1, 2)
    if computerInput == 1:
        computerSelection = 'red'
    elif computerInput == 2:
        computerSelection = 'black'
    if computerSelection == myInput:
        print('You win!')
    else:
        print('You lose')
    user_input = input('Do you want to continue playing?')
    if user_input == 'no':
        keepplaying = False

import random

keepplaying = True  
while keepplaying == True:
  myInput = input("Bet your color Type: Red or Black:")
  myInput = myInput.lower()
  computerInput = random.randint(1,2)
  
  if computerInput == 1:
    computerSelection = "red"
  elif computerInput == 2:
    computerSelection = "black"
  
  if computerSelection == myInput:
    print("You win!")
  else:
    print("You lose")
    
  user_input = input("Do you want to continue playing?")
  if user_input == "no":
    keepplaying = False
