1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Elanso [62]
3 years ago
12

Can anyone tell me what wrong with this code the instructions are "Currently, this program will add 6 and 3 together, output the

math problem and output the answer. Edit this code so that a random number is generated from 1 - 10 (inclusive) for the variables a and b. Also, instead of adding the two numbers together, the edited program should multiply them, and output the proper math problem and answer. Be sure to update every line of code to reflect the changes needed." My code runs but it hasa EOF. My code is
import random
random.seed(1,10)
a = random.randint (1,10)
b = random.randint (1,10)
print ("What is: " + str(a) + " X " + str(b) + "?")

ans = int(input("Your answer: "))

if (a * b == ans):
print ("Correct!")
else:
print ("Incorrect!")
Computers and Technology
1 answer:
atroni [7]3 years ago
4 0

Answer:

import random

a = random.randint(1,10)

b = random.randint(1,10)

answer = a * b

print(str(b)+" * "+str(a)+" = "+str(answer))

Explanation: So I am guessing you are on Edhesive Module 2.5 Intro to cs. Sorry it took so long but hopefully this works.

You might be interested in
2) List three (3) negative impact of Technology on society
Nataly [62]

Answer:

1. social media and mobile devices may lead to psychological.

2. They may contribute to more serious health conditions such as depression.

3. The overuse of technology may have a more significant impact on developing children and teenagers.

Explanation:

may this help you have a good day

5 0
2 years ago
3. C R M systems: – Capture and integrate customer data from all over the organization – Consolidate and analyze customer data –
inysia [295]

Answer:CRM stands for Customer Relationship Management. It is a system for managing customers and their needs.

Collaborative CRM

Explanation:

The system described here involves communication between different departments and exchange of customers data and information. This is typical of collaborative CRM software

7 0
3 years ago
____ is an integrated system that collects and processes data and manages and coordinates resources, information, and functions
miss Akunina [59]

Answer:

a.) Enterprise Resource Planning  

Explanation:

5 0
3 years ago
What is DBMS software used for?
Alexandra [31]
A database management system<span> (DBMS) is system software for creating and managing databases. The DBMS provides users and programmers with a systematic way to create, retrieve, update and manage data.</span>
5 0
3 years ago
In Language C please.When analyzing data sets, such as data for human heights or for human weights, a common step is to adjust t
nydimaria [60]

Answer:

THE ANSWER IS EASY

Explanation:

8 0
3 years ago
Other questions:
  • b. Suppose instead that Miller had written a routine to constantly change his assigned IP address to other addresses used by his
    8·1 answer
  • Help me please (program c++)
    11·1 answer
  • Write a loop that displays all possible combinations of two letters where the letters are 'a', or 'b', or 'c', or 'd', or 'e'. T
    12·1 answer
  • What's the answer to the image? True or False
    15·1 answer
  • Universal Container sales reps can modify fields on an opportunity until it is closed. Only the sales operations team can modify
    13·1 answer
  • Answer this blank:<br><br> Air enters through the mouth or nose, and travels through the _
    14·2 answers
  • 13) An-Excel-file-is-generally called-a-l-an:
    6·1 answer
  • Why did Elena Gilbert Turn her humanity off when she was sired to Damon? (In The Vampire Diaries)
    14·1 answer
  • Jamie Lee is beside herself knowing that the thieves had unauthorized use of her debit/ATM card. What is Jamie's financial respo
    11·1 answer
  • Which statements describe the advantages of using XML
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!