Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x = []
- A = raw_input('''
- Welcome! At first you need to choose one number from 1 to 107 and remember *YOU HAVE TO KEEP IT IN YOUR MIND*, then seven groups of numbers will be shown .You\nshould enter "yes" when your number is in the group and enter "no" when it's \nnot!\n\nFirst group :
- 1 , 3 , 5 , 7 , 9 , 11 , 13 , 15 , 17 , 19 , 21 , 23 , 25 , 27 , 29 , 31 , 33 , 35 , 37 , 39 , 41 , 43 , 45 , 47 , 49 , 51 , 53 , 55 , 57 , 59 , 61 , 63 , 65 , 67 , 69 , 71 , 73 , 75 , 77 , 79 , 81 , 83 , 85 , 87 , 89 , 91 , 93 , 95 , 97 , 99 , 101 , 103 , 105 , 107\nEnter yes or no: ''')
- if A == 'yes' :
- x.append(1)
- B = raw_input('''
- Second group :
- 2 , 3 , 6 , 7 , 10 , 11 , 14 , 15 , 18 , 19 , 22 , 23 , 26 , 27 , 30 , 31 , 34 , 35 , 38 , 39 , 42 , 43 , 46 , 47 , 50 , 51 , 54 , 55 , 58 , 59 , 62 , 63 , 66 ,67 , 70 , 71 , 74 , 75 , 78 , 79 , 82 , 83 , 86 , 87 , 90 , 91 , 94 , 95 , 98 , 99 , 102 , 103 , 106 , 107\nEnter yes or no: ''')
- if B == 'yes' :
- x.append(2)
- C = raw_input('''
- Third group :
- 4 , 5 , 6 , 7 , 12 , 13 , 14 , 15 , 20 , 21 , 22 , 23 , 28 , 29 , 30 , 31 , 36 , 37 , 38 , 39 , 44 , 45 , 46 , 47 , 52 , 53 , 54 , 55 , 60 , 61 , 62 , 63 , 68 , 69 , 70 , 71 , 76 , 77 , 78 , 79 , 84 , 85 , 86 , 87 , 92 , 93 , 94 , 95 , 100 , 101 , 102 , 103\nEnter yes or no: ''')
- if C == 'yes' :
- x.append(4)
- D = raw_input('''
- Fourth group :
- 8 , 9 , 10 , 11 , 12 , 13 , 14 , 15 , 24 , 25 , 26 , 27 , 28 , 29 , 30 , 31 , 40 , 41 , 42 , 43 , 44 , 45 , 46 , 47 , 56 , 57 , 58 , 59 , 60 , 61 , 62 , 63 , 72 , 73 , 74 , 75 , 76 , 77 , 78 , 79 , 88 , 89 , 90 , 91 , 92 , 93 , 94 , 95 , 104 , 105 , 106 , 107\nEnter yes or no: ''')
- if D == 'yes' :
- x.append(8)
- E = raw_input('''
- Fifth group :
- 16 , 17 , 18 , 19 , 20 , 21 , 22 , 23 , 24 , 25 , 26 , 27 , 28 , 29 , 30 , 31 , 48 , 49 , 50 , 51 , 52 , 53 , 54 , 55 , 56 , 57 , 58 , 59 , 60 , 61 , 62 , 63 , 80 , 81 , 82 , 83 , 84 , 85 , 86 , 87 , 88 , 89 , 90 , 91 , 92 , 93 , 94 , 95\nEnter yes or no: ''')
- if E == 'yes' :
- x.append(16)
- F = raw_input('''
- Sixth group :
- 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 ,
- 96 , 97 , 98 , 99 , 100 , 101 , 102 , 103 , 104 , 105 , 106 , 107\nEnter yes or no: ''')
- if F == 'yes' :
- x.append(32)
- G = raw_input('''
- Seventh group :
- 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 , 99 , 100 , 101 , 102 , 103 , 104 , 105 , 106 , 107\nEnter yes or no: ''')
- if G == 'yes' :
- x.append(64)
- print '{} is your number!\nEmail : pooyakm@ymail.com'.format(sum(x))
Add Comment
Please, Sign In to add comment