Computers and Technology, 20.02.2021 02:10 DotDotTaterTot
Hi! i need help identifying an error in the following code:
Please tell me what i did wrong!!! will mark brainliest! thank import random
number = random. randint(1,10)
tried = 0
uname = input("enter your name:")
uname = uname. strip()
print(f"hello! {uname}")
print("would you like to play a game?")
print("1) yes")
print("2) no")
option = input("select your option:")
option = int(option)
if option == 1:
print("i\'m thinking of a number between 1 and 10")
print("you have to guess the number within 3 tries")
guess = input("guess the number:")
guess = int(guess)
tries+=1
if guess>number:
print("guess lower...")
if guess number:
print("guess lower...")
if guess
option = int(option)
it is saying this:
ValueError: invalid literal for int() with base 10: 'no'
please help me! will mark brainliest!
Answers: 1
Computers and Technology, 22.06.2019 20:00
What statement best describes operating systems? it’s possible for modern computers to function without operating systems. most operating systems are free or very inexpensive. operating systems are managed by the computer’s microprocessor (cpu). operating systems manage the computer’s random access memory (ram).
Answers: 1
Computers and Technology, 23.06.2019 03:30
Hashtags serve to identify the topic of a given tweet true false
Answers: 2
Computers and Technology, 23.06.2019 18:30
List 3 items that were on kens resume that should have been excluded
Answers: 1
Computers and Technology, 23.06.2019 19:00
Whose task it is to ensure that the product flows logically from one step to another?
Answers: 3
Hi! i need help identifying an error in the following code:
Please tell me what i did wrong!!! will...
Physics, 03.09.2020 06:01
Mathematics, 03.09.2020 06:01
Mathematics, 03.09.2020 06:01
Mathematics, 03.09.2020 06:01
Mathematics, 03.09.2020 06:01
Chemistry, 03.09.2020 06:01
Mathematics, 03.09.2020 06:01
History, 03.09.2020 06:01
Biology, 03.09.2020 06:01