answer.
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
lara
3 months ago
9

Currently, this program will add 6 and 3 together, output the math problem and output the answer. Edit this code so that a rando

m 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.
import random

a = 6
b = 3

answer = a + b

print (str(a) + " + " + str(b) + " = " + str(answer))
Computers and Technology
1 answer:
8_murik_8 [964]3 months ago
6 0

I have attached my code in the image below. Good luck.

You might be interested in
In the Advent of computer technologies and it's applications, to what extent these technologies have influenced the world.
amid [951]
One significant aspect explored by numerous researchers regarding the progression of ICT is its effect on social interactions. In his 1995 article "Bowling Alone," Robert Putnam suggested that as ICT usage increases, people's social capital decreases.
8 0
1 month ago
Sketch the developments in multimedia. What do you expect to be the commercial impact of multimedia in the (near) future?
Natasha_Volkova [1026]

Answer:

Multimedia has become an essential and vital part of various sectors such as healthcare, education, entertainment, and marketing.

Explanation:

In the past, children primarily learned using textbooks, but now they engage with smart boards and other interactive digital devices that provide animated content.

The role of multimedia is crucial in entertainment, where there has been a significant increase in attendance for multimedia events.

Similarly, in the medical field, students can learn more effectively with the use of multimedia tools. Looking ahead, multimedia is expected to draw interest across all disciplines and its future seems promising.

4 0
2 months ago
During a move, employee workstations were disconnected from the network and reconnected in new offices. However, after the move
Natasha_Volkova [1026]
Ensure the cables are operational and correctly connected. Given that everything functioned well prior to the relocation, but post-move some workstations are unable to receive a valid IP, the first action should be to confirm that the cables are securely connected. If they are, also test the cables for functionality. If issues persist after this, then additional troubleshooting would be necessary.
5 0
1 month ago
What type of operating system runs a dedicated electronic device such as a smart thermostat?
Natasha_Volkova [1026]

Answer:

Typically, these operate on IOS or Android platforms. (Similar to what smartphones use. However, it’s often a simplified or modified version.)

Explanation:

Numerous small electronic gadgets, including the one mentioned, function using IOS or Android operating systems. Generally, it serves basic purposes yet is compact, quick, and user-friendly.

5 0
3 months ago
To be a successful computer systems engineer, you must be proficient in programming languages and operating systems. Similarly,
maria [1035]

In summary, the skills listed are referred to as Technical capabilities. These capabilities encompass the Knowledge and skillset required to execute specific tasks. Meanwhile, Soft skills are equally vital, as they pertain to the capability of effectively engaging and communicating with others.

6 0
1 month ago
Read 2 more answers
Other questions:
  • Why is computer called versatile machine?
    7·1 answer
  • Sarah works in a coffee house where she is responsible for keying in customer orders. A customer orders snacks and coffee, but l
    13·2 answers
  • On the planet Sigma, robots excavate chunks of a very precious cristaline. These chunks can be divided into smaller part only on
    15·1 answer
  • Any software or program that comes in many forms and is designed to disrupt the normal operation of a computer by allowing an un
    13·1 answer
  • In 2007, this wireless security algorithm was rendered useless by capturing packets and discovering the passkey in a matter of s
    6·2 answers
  • Define a new object in variable sculptor that has properties "name" storing "Michelangelo"; "artworks" storing "David", "Moses"
    12·1 answer
  • A 2-dimensional 3x3 array of ints, has been created and assigned to tictactoe. Write an expression whose value is true if the el
    10·1 answer
  • CHALLENGE ACTIVITY 2.9.1: Coordinate geometry. Determine the distance between points (x1, y1) and point (x2, y2), and assign the
    6·1 answer
  • Given x and y, each associated with an int, write a fragment of code that associates the larger of these with another variable n
    5·1 answer
  • 2) Complete the get_num_of_characters() function, which returns the number of characters in the user's string. We encourage you
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!