NEED HELP
AlexanderSmith8 (2)

I need help. My teacher is not here and i am trying to get the code for a phyton guassing game for fee

You are viewing a single comment. View All
MarsExplorer (0)

replace line 23 with print("it took you",tries,"tries to guess the number"

MarsExplorer (0)

@Marsexplorer it will only work if tries is a string. otherwise, set try to a string

MarsExplorer (0)

i mean it will only work if random_number is a sring

MarsExplorer (0)

to set a non-string to a string, use str(non-string), replacing non string with what you want to turn into a string