Respostas
Execute este código que está em linguagem python no replit.it:
from random import randint
from time import sleep
def pl():
print(' ')
def pl12():
print(' ')
print(' ')
print(' ')
print(' ')
print(' ')
print(' ')
print(' ')
print(' ')
print(' ')
print(' ')
print(' ')
print(' ')
print('--------\033[1;92mWELCOME!\033[1;97m--------')
print('\033[1;97mwait...')
sleep(3)
pl12()
print(' \033[1;97mHi! In this game you are in a casino and your goal is to play on a machine that takes three different numbers randomly from \033[1;33m1 to 5\033[1;97m, if all the numbers are equal you \033[1;93mwin \033[1;93m$500,000 \033[1;97mif you are successful if two numbers are the same you win \033[1;33m$300\033[1;97m and every move you lose \033[1;91m-$120\033[1;97m. Good luck! And I hope you like it.')
sleep(5)
pl()
a = input('[Press enter for continue]')
pl12()
print('\033[1;97m--------\033[1;94mCASSINO\033[1;97m--------')
print('\033[1;97mYour profile below:')
pl()
#Profile configuration-Profile configuration-
coins = int(5000)
times_Played = int(0)
lost_Coins = int(0)
print('\033[1;93mcoins: \033[1;92m{} US$'.format(coins), '\n\033[1;93mLost coins: \033[1;91m-{} US$'.format(lost_Coins),'\n\033[1;97mTimes played: \033[1;90m{} Times'.format(times_Played))
pl()
b = input('\033[1;97m[Press enter for play]')
pl()
#Game-Game-Game-Game-Game-Game-Game-Game----------------
while coins > 0:
n1 = int(randint(1, 5))
n2 = int(randint(1, 5))
n3 = int(randint(1, 5))
print('\033[1;94m-----The numbers drawn are-----')
if n1 == n2 and n2 == n3:
print('\033[1;92m-------------YOU WON!-----------')
print(' [{}]'.format(n1), '[{}]'.format(n2), '[{}]'.format(n3))
print('\033[1;93m You won +$500,000')
coins += 500000
times_Played += 1
lost_Coins += 60
coins -= 60
elif n1 == n2 and n1 != n3:
print('\033[1;91m------------You lose-----------')
print(' \033[1;32m[{}]'.format(n1), '[{}]'.format(n2), '\033[1;91m[{}]'.format(n3))
coins += 300
times_Played += 1
lost_Coins += 60
coins -= 60
elif n2 == n3 and n3 != n1:
print('\033[1;91m------------You lose-----------')
print(' \033[1;91m[{}]'.format(n1), '\033[1;32m[{}]'.format(n2), '[{}]'.format(n3))
coins += 300
times_Played += 1
lost_Coins += 60
coins -= 60
elif n1 == n3 and n1 != n2:
print('\033[1;91m------------You lose-----------')
print(' \033[1;32m[{}]'.format(n1), '\033[1;91m[{}]'.format(n2), '\033[1;32m[{}]'.format(n3))
coins += 300
times_Played += 1
lost_Coins += 60
coins -= 60
else:
print('\033[1;91m------------You lose-----------')
print(' [{}]'.format(n1), '[{}]'.format(n2), '[{}]'.format(n3))
coins -= 120
lost_Coins += 120
times_Played += 1
lost_Coins += 60
coins -= 60
pl()
control_Key = input('\033[1;97mPress Enter to play again cust $60\n or \ntype "profile" without quotes and without spaces to see your profile: ')
if control_Key == 'profile':
pl()
print('\033[1;97m-----------------------')
print('\033[1;97mYour profile below:')
print('\033[1;93mcoins: \033[1;92m{} US$'.format(coins), '\n\033[1;93mLost coins: \033[1;91m-{} US$'.format(lost_Coins),'\n\033[1;97mTimes played: \033[1;90m{} Times'.format(times_Played))
print('\033[1;97m-----------------------')
pl()
pl12()
pl12()
print('\033[1;91mYou lost all your money, run the program again to restart ')
print('\033[1;97m-----------------------')
print('\033[1;97mYour profile below:')
print('\033[1;93mcoins: \033[1;92m{} US$'.format(coins), '\n\033[1;93mLost coins: \033[1;91m-{} US$'.format(lost_Coins),'\n\033[1;97mTimes played: \033[1;90m{} Times'.format(times_Played))
print('\033[1;97m-----------------------')
print('\033[1;91mYou lost all your money, run the program again to restart ')
Resposta:
O sujeito da oração é a palavra "ajuda" e o tipo de sujeito é "sujeito simples
Explicação: