| 12
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 
 | # -*- coding: utf-8 -*-
from random import randint
 
a=0
b=0
c=0
d=0
e=0
hand=[a, b, c, d, e]
control=1
 
 
def play() :
  global a, b, c, d, e, hand
  a=randint(1,6)
  b=randint(1,6)
  c=randint(1,6)
  d=randint(1,6)
  e=randint(1,6)
  hand=[a, b, c, d, e]
  print hand
  tester() 
 
def change_a () :
  global a, b, c, d, e, hand
  a=randint(1, 6)
  hand=[a, b, c, d, e]
  tester()
 
def change_b () :
  global a, b, c, d, e, hand
  b=randint(1, 6)
  hand=[a, b, c, d, e]
  tester()
 
def change_c () :
  global a, b, c, d, e, hand
  c=randint(1, 6)
  hand=[a, b, c, d, e]
  tester()
 
def change_d () :
  global a, b, c, d, e, hand
  d=randint(1, 6)
  hand=[a, b, c, d, e]
  tester()
 
def change_e () :
  global a, b, c, d, e, hand
  e=randint(1, 6)
  hand=[a, b, c, d, e]
  tester()
 
 
def tester () :
 
  global hand, control
 
  oner=hand.count(1)
  twoer=hand.count(2)
  treeer=hand.count(3)
  fourer=hand.count(4)
  fiver=hand.count(5)
  sixer=hand.count(6)
 
  if oner == 0 :
    oner='false'
 
  if twoer == 0 :
    twoer='false'
 
  if treeer == 0 :
    treeer='false'
 
  if fourer == 0 :
    fourer='false'
 
  if fiver == 0 :
    fiver='false'
 
  if sixer == 0 :
    sixer='false'
 
  if ((oner == 3) or (twoer) == 3 or (treeer) == 3 or (fourer) == 3 or (fiver == 3) or (sixer ==3)) and ((oner != 2) and (twoer != 2) and (treeer != 2) and (fourer != 2) and (fiver != 2) and (sixer != 2)) :
    print 'Brelan'
 
  if (oner == 4 )or (twoer == 4) or (treeer == 4) or (fourer == 4) or (fiver == 4) or (sixer == 4) :
    print 'Full'
 
  if ((oner == 2) or (twoer == 2) or (treeer == 2) or (fourer == 2) or (fiver == 2) or (sixer == 2)) and ((oner == 3) or (twoer == 3) or (treeer == 3) or (fourer == 3) or (fiver == 3) or (sixer == 3)) :
    print 'Full House'
 
  if ((twoer == 1) and (treeer == 1) and (fourer == 1) and (fiver == 1)) and (((sixer == 1) and (oner != 1)) or ((sixer != 1) and (oner == 1))) :
    print 'Long suite'
    control=0
 
  if ((treeer == 1) and (fourer == 1)) and (((oner == 1) and (twoer == 1)) or ((fiver == 1) and (sixer == 1)) or ((twoer == 1) and (fiver != 1))) and (control == 1):
    print 'Little suite' |