![subject](/tpl/images/cats/informatica.png)
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!
![ansver](/tpl/images/cats/User.png)
Answers: 1
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 18:10
How can i delete permalinks from a word press site?
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 16:00
What is the biggest difference between section breaks and regular page breaks? section breaks are more difficult to add than page breaks. section breaks make it easier for you to view the document as an outline. section breaks allow you to have areas of the document with different formatting. section breaks are smaller than regular page breaks.
Answers: 2
![question](/tpl/images/cats/informatica.png)
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 18:00
Your computer running windows 10 is doing some very strange things with the operating system. you are fairly certain it is not a hardware issue. you need to try to get further insight into what is going on within the operating system. which tool would be best-suited for this?
Answers: 1
You know the right answer?
Hi! i need help identifying an error in the following code:
Please tell me what i did wrong!!! will...
Questions
![question](/tpl/images/cats/mat.png)
Mathematics, 27.10.2020 03:20
![question](/tpl/images/cats/mat.png)
Mathematics, 27.10.2020 03:20
![question](/tpl/images/cats/biologiya.png)
Biology, 27.10.2020 03:20
![question](/tpl/images/cats/biologiya.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 27.10.2020 03:20
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/biologiya.png)
Biology, 27.10.2020 03:20
![question](/tpl/images/cats/ap.png)
Advanced Placement (AP), 27.10.2020 03:20
![question](/tpl/images/cats/mkx.png)
Arts, 27.10.2020 03:20
![question](/tpl/images/cats/mat.png)
Mathematics, 27.10.2020 03:20
![question](/tpl/images/cats/es.png)
Spanish, 27.10.2020 03:20
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 27.10.2020 03:20
![question](/tpl/images/cats/istoriya.png)
History, 27.10.2020 03:20
![question](/tpl/images/cats/obshestvoznanie.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/istoriya.png)
History, 27.10.2020 03:20