defrolled(num_t):
count =0
still_win =0
second_win =0
still_lose =0
second_lose =0while count <= num_t-1:
a_1 = random.randint(1,6)
b_1 = random.randint(1,6)
tTen = a_1 + b_1
guess_num = a_1 + b_1
if guess_num ==11or guess_num ==7:print(f"Fir You win! result {guess_num}")
still_win +=1elif guess_num ==2or guess_num ==3or guess_num ==12:print(f"Sec You lose! result {guess_num}")
still_lose +=1elif guess_num ==4or guess_num ==5or guess_num ==6or guess_num ==8or guess_num ==9or guess_num ==10:if tTen ==7:print(f"3th You lose! result guess {guess_num} and ten {tTen}")
second_lose +=1elif tTen == guess_num:print(f"4th You win! result guess {guess_num} and ten {tTen}")
second_win +=1
count +=1print(f"You win times is still win {still_win} and second win {second_win}, total is {still_win + second_win}")print(f"You lose times is still lose {still_lose} and second lose {second_lose}, total is {still_lose + second_lose}")
rolled(10000)