subject

2.5 code practice import random
a = random. randint(1, 11)
b = random. randint(1, 11)
print ("What is:
+ str(a) + " X " + str(b) + "?")
þins
int(input("Your "))
if (a * b
ans):
print ("Correct!")
else:
print ("Incorrect!")

it says
int(input(“Your “))

is incorrect and is highlighted red.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 02:30
Write a program that takes in 3 inputs [players (int type), expected game time (double type), team (char type)] and calculates actual game time (double) based on the following conditions: if the number of players or the expected game time is less than or equal to zero, it should output wrong input if the number of players is greater than 0 and less than or equal to 6 and if they are on the â€r’ or â€r’ team, their game time will be 10% faster. and if they are on the â€b’ or â€b’ team, their game time will be 15% faster. and if they are on the â€y’ or â€y’ team, their game time will be 20% faster. and if they are on any other team, they will play 0% faster. if the number of players is greater than 6 but less than or equal to 12 and if they are on the â€r’ or â€r’ team, their game time will be 20% faster. and if they are on the â€b’ or â€b’ team, their game time will be 25% faster. and if they are on the â€y’ or â€y’ team their game time will be 30% faster. and if they are on any other team, they will play 0% faster. if the number of players is greater than 12 but less than or equal to 18 and if they are on the â€r’ or â€r’ team, their game time will be 30% faster. and if they are on the â€b’ or â€b’ team, their game time will be 35% faster. and if they are on the â€y’ or â€y’ team, their game time will
Answers: 2
question
Computers and Technology, 23.06.2019 18:30
List 3 items that were on kens resume that should have been excluded
Answers: 1
question
Computers and Technology, 24.06.2019 10:00
Which two technologies support the building of single-page applications?
Answers: 2
question
Computers and Technology, 24.06.2019 11:30
Why is body language an important factor in a business meeting
Answers: 1
You know the right answer?
2.5 code practice import random
a = random. randint(1, 11)
b = random. randint(1, 11)
Questions
question
Mathematics, 16.09.2020 18:01
question
Mathematics, 16.09.2020 18:01
question
Mathematics, 16.09.2020 18:01
question
Mathematics, 16.09.2020 18:01
question
Chemistry, 16.09.2020 18:01
question
Mathematics, 16.09.2020 18:01
question
Mathematics, 16.09.2020 18:01
question
Mathematics, 16.09.2020 19:01
question
Mathematics, 16.09.2020 19:01
question
Mathematics, 16.09.2020 19:01
question
Mathematics, 16.09.2020 19:01
question
Mathematics, 16.09.2020 19:01
question
Mathematics, 16.09.2020 19:01
question
English, 16.09.2020 19:01
question
Mathematics, 16.09.2020 19:01
question
Mathematics, 16.09.2020 19:01
question
Mathematics, 16.09.2020 19:01
question
Mathematics, 16.09.2020 19:01
question
Mathematics, 16.09.2020 19:01
question
Mathematics, 16.09.2020 19:01
Questions on the website: 13722367