okay so I am very very new to python and am making a dice game i tried to concatenate using a string and a random number using the random randint function but it just displays a long no sense error message for example: please excuse my indentation I am trying to make a program which simulates rolling a fair sided dice over agian until 50 is reached
3
you chose the number<bound method Random.randint of <random.Random object at 0x02804790>>woop
5
you chose the number<bound method Random.randint of <random.Random object at 0x02804790>>woop
2
you chose the number<bound method Random.randint of <random.Random object at 0x02804790>>woop
2
you chose the number<bound method Random.randint of <random.Random object at 0x02804790>>woop
4
you chose the number<bound method Random.randint of <random.Random object at 0x02804790>>woop
Here is my code can anyone help me so that the code stops once the all the dice numbers added add up to 50:
import random
score = 0
poss_ans = 'yes'
poss_ans1= 'no'
roll_1 = 0
count = True
for i in range(50):
one = 0
two = 0
three = 0
four = 0
five = 0
six = 0
number_6=raw_input("do u wanna play")
if number_6 == poss_ans:
print("okay")
elif number_6 == poss_ans1:
print("weirdo")
score = 0
while count < 50:
print(random.randint (1, 6))
print ("you chose the number" + str(random.randint) + "woop")
count += 1