Computers and Technology, 20.02.2021 02:10 jakeshep2000
Please help me! will mark brainliest!
Hi! i need help identifying an error in the following code:
Please tell me what i did wrong!!!
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'
Answers: 1
Computers and Technology, 22.06.2019 00:40
Write a function 'music_func' that takes 3 parameters -- music type, music group, vocalist -- and prints them all out as shown in the example below. in case no input is provided by the user, the function should assume these values for the parameters: "classic rock", "the beatles", "freddie mercury". for example: input: alternative rock,pearl jam,chris cornell output: the best kind of music is alternative rock the best music group is pearl jam the best lead vocalist is chris cornell note: the print statements will go inside the for example: print("the best kind of music is"
Answers: 2
Computers and Technology, 22.06.2019 18:30
The "instance" relationship shows that something is an object of a
Answers: 1
Computers and Technology, 22.06.2019 22:30
What is the most popular genre of video games?
Answers: 1
Computers and Technology, 23.06.2019 02:00
Which software would you use to create a print design? a. illustrator b. audacity c. reaper d. dreamweaver
Answers: 2
Please help me! will mark brainliest!
Hi! i need help identifying an error in the following code:
Mathematics, 15.12.2020 16:30
Mathematics, 15.12.2020 16:30
Business, 15.12.2020 16:30
Health, 15.12.2020 16:30
History, 15.12.2020 16:30
Engineering, 15.12.2020 16:30