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

a = 6
b = 3

answer = a + b

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

Answers

Answer 1

I've included my code in the picture below. Best of luck.

Currently, This Program Will Add 6 And 3 Together, Output The Math Problem And Output The Answer. Edit
Answer 2

The modifications to be done program is an illustration of random numbers using Python.

The random numbers from 1 to 10, will be generated using the random module

The modified program where comments are used to explain the lines of the programs are:

#This imports the random module

import random

#This generates a random number

a = random.randint(1,10)

#This generates another random number

b = random.randint(1,10)

#This multiplies both numbers

answer = a * b

#This displays the result of the program

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

At the end of the program, the program will print the product of both random numbers.

See attachment for sample run of the program

Read more about Python programs at:

https://brainly.com/question/22841107

Currently, This Program Will Add 6 And 3 Together, Output The Math Problem And Output The Answer. Edit

Related Questions

Haan creates this table to track his income.
A
1 Month
2 Jan
3 Feb
4 Mar
5 Apr
6 May
7 Jun
8 Jul
9 Aug
10 Sep
11 Oct
12 Nov
13 Dec
14 Year Total
B
Income
$3,800
$3,300
$4,200
$4,900
$2,800
$4,100
$3,000
$4,200
$4,700
$3,600
$5,100
$4,200
Which would give him the total income for the year?
=SUM(B2 B13)
EADD(B1:B14)
SUMB1B14
(B2B13)

Answers

Answer:

Your answer is 42,800.

Explanation:

Add together all the numbers and you get a total income of 42,800.

Answer:

=SUM(B2:B13)

Explanation:

EDGE2021

A computer connected to the internet that asks for data is a(n) ________

Answers

Answer:

Client

Explanation:

Answer:

Client

Explanation:

The client makes a request for a service, and a server performs that service.

When a user modifies the fonts in a message and immediately sees the effect of a font change without actually
selecting the font, which Outlook feature is the user witnessing?
Mini toolbar
AutoCorrect
O Live Preview
O Font View

Answers

Answer:

Font view

Explanation:

Answer:font view

Explanation:

What is the default zoom percentage in Word?

Answers

Answer:

50%

100%

150%

200%

Explanation:

one advantage of using online note-taking tools is that they help students to

a) get organized

b) read faster

c) avoid taking tests

c) avoid studying

Answers

Answer:

the correct answer is A

Explanation:

hope it helps

Answer:

a

Explanation:

Hinata needs to upload a copy of her drivers license to a website as proof of age which two devices can she use to help her create a computer file of her card

Answers

Answer:

Scanner Smartphone

Explanation:

For Hinata to upload a copy of her driver's license she needs to scan the license. This would convert it to a soft copy/ computer copy that can then be uploaded on the site.

One device she can use is the very common Scanner. There are multiple variants but they usually consist of a scanning plane/ glass that the license can be placed on and scanned. A digital copy will then be created.

A second device is simply her smartphone. There are many apps that can be used to scan documents via the phone's cameras so she just has to use one of them and she can easily scan the license thereby converting it to a computer file.

Answer:

Scanner and web cam

Explanation:

I'm not sure how to do these.

Answers

Answer:

JAVA

TASK 1

float float75 = 75; # widening casting are done automatically.

String string75 = String.valueOf(75);

float75 + string75 = Error: As the compiler doesn't know how to approach this, are you trying to add float to unicode charcters, if there is a value in this string, CAST it out, EXORCISE

TASK 2

import java.util.Scanner;

class MyClass {

public static void main(String[] args) {

Scanner myObj = new Scanner(System.in); // Create a Scanner object

System.out.println("Enter Float number");

float number = myObj.nextFloat();

System.out.println(number ** 2);

TASK 3

import java.util.Scanner;

class MyClass {

public static void main(String[] args) {

Scanner myObj = new Scanner(System.in); // Create a Scanner object

System.out.println("Enter number");

int number = myObj.nextInt();

int quotient = number / 7;

int reminder = number % 7;

System.out.printf("When you divide %d by 7, the quotient is %d and the reminder is %d ", number, quotient, reminder);

TASK 4

import java.util.Scanner;

class MyClass {

public static void main(String[] args) {

Scanner myObj = new Scanner(System.in); // Create a Scanner object

System.out.println("How many gigabytes is your flash drive");

int gigabytes = myObj.nextInt();

long numBits = gigabytes * 8000000000

System.out.printf("Number of bits in your %d flashdrive: %ld Bits", gigabytes, numBits);

Why is it important to plan out the design of an app?

Answers

Answer:

you could mess it up

Explanation:

let me explain an app may be easy if you know what your doing. if you dont you most likely might miss a code or mess up the hole code.

Question #8
Fill in the Blank
What is the output of the following program?
>>> phrase = "help me"
>>> len(phrase)

Answers

Answer:

The other person is correct the answer is 7

Explanation:

I got it right on edge

Answer:

7

Explanation:

I know I wasn't first to answer but give me brainliest plz.

List three different camera modes and describe how each mode works when taking a photo

Answers

Answer:

Auto Mode--The camera chooses the settings for your photo, which is a good idea if you have no clue what settings to use. Auto mode works well when there is good lighting, but it may struggle when the lighting is uneven.

Portrait Mode--The camera will "think" that there is an object in the foreground to focus on, so it has a shallow depth to keep the focus on the object and blurs the background.

Sports mode--The camera takes the picture in only a fraction of the time it takes pictures in any other mode, because sports are fast activities. Flash is not usually necessary because of high shutter speed used to freeze movement.

bit is an abbreviation of_____​

Answers

Answer:

Explanation:

bit is an abbreviation of "binary digit".

You are interested in receiving more information about a special topic, including emails, announcements and advertising. What can you do? Group of answer choices Bookmark Websites about the topic on your favorite browser. Join a newsgroup about the topic. Subscribe to a listserve group about the topic. Set your browser's home page to a topical Website.

Answers

Answer:

The answer is "Subscribe to a listserve group about the topic".

Explanation:

A Listserv would be a software suite that is used to run a discussion list through community e-mail. Even so, LISTSERV is indeed a trademark of L-Soft Global who created some of the first and most famous mailing list programs.

It is a way to communicate by e-mail to a community of people. They send an e-mail to "reflecting" and the software gives an e-mail to all subscribers of both the Group.

1. Describe how research and development influence design. Cite specific examples of how research and development influence design problems that are not presented in a clearly defined form.​

Answers

Answer:

so i research and found this,

Development is when findings of a research are utilized for the production of specific products including materials, systems and methods. Design and development of prototypes and processes are also part of this area. Engineering is utilization of these plans and research to produce commercial products.

Research and development, also known as R&D, is the acts taking to find out more about an item, idea or phenomenon, in order to come up with new services and products with the aim of increasing revenue and profit

1. Research and development enables a company to remain viable by providing an edge in the market amongst competitors such that without research and innovation a company may not survive

Therefore;

Research and development influence design by being the basis of the design effort, thereby redirecting the kinds of products that are available for purchase

Examples Showing how Research and Development Influence Design Problems

Examples of how research and development influence design problems that are not presented in a clearly defined form are;

The research and development of the MOS integrated circuit that lead to the change in size and performance of electronics and brought about the personal usage of computersThe research and development of the personal computer that changes the design of work planning and communication strategy amongst organizations and individuals The research and development of the gasoline powered tractor that changes the design for mechanization on a farm

Learn more about research and development here:

https://brainly.com/question/2938243

https://brainly.com/question/13954765

_____the measuring instrument is not necessary​

Answers

Answer:

The answer to this question is given below in the explanation section.

Explanation:

The zero error of the measuring instrument is not necessary. Because when you measure the difference between two items or objects, you don't need an absolute value.

For example, if you measure the temperature of today and compare it with the previous day, then zero error is not necessary. Because you can produce results either hot or cold. The difference is change.

Another example, when you measure your height and compare it with your friend, you can be either taller or smaller, so sometimes zero error of the measuring error is not necessary.  

What specific job usually includes the important pre-production step of making the
script breakdown?
actor
assistant director
O producer
film promoter

Answers

Answer:

B. assistant director

Explanation:

Filmmaking can be defined as the art or process of directing and producing a movie for viewing in cinemas or television. The process of making a movie comprises of five (5) distinct phases and these are;

1. Development.

2. Pre-production.

3. Production.

4. Post-production.

5. Distribution.

An assistant director can be defined as an individual who is primarily saddled with the responsibility of reviewing and making script-breakdown, making daily call sheets of the crew, arranging logistics, and tracking the film production schedule. Also, an assistant director normally functions in the pre-production process of a movie and are expected to work closely with the director and other crew members, so as to understand their requirements or needs.

Hence, an assistant director is a specific job that usually includes the important pre-production step of making the script breakdown.

Which one my guys I need help

Answers

Answer:

false

Explanation:

for the first one it is false because the toolbar is the same as the taskbar. and a taskbar just add more google windows. and to get a task bar you do SHIFT + Mouse Click on a taskbar button.

Which ribbon tab is not a default in Outlook 2016's main interface?
O Home
Send/Receive
O Folder
O Review

Answers

Answer:

review

Explanation:

In the second example with modulus math, why can't Eve find the solution?

A. She just doesn't have enough time to figure it out
B. She's not good with math so it's surprising she couldn't figure this out
C. She would have to resort to trial and errors to find a matching exponent
D. None of the above

Answers

C. She would have to resort to trial and errors to find a matching exponent

In the second example with modulus math,  Eve can not find the solution because she would have to resort to trial and error to find a matching exponent. Thus, the correct option for this question is C.

What is the significance of Modulus?

The significance of modulus math is determined by the fact that describes the absolute value of any number or variable. It significantly produces the magnitude of the number of variables.

It is also termed an absolute value function. The outcome or result of this function is always illustrated to be positive, as it would not describe the input of its method that has been given to the function.

According to modular mathematics, Eve can not find the exact solution to the specific problem because she would have to resort to trial and error to find a matching exponent.

Therefore, the correct option for this question is C.

To learn more about Modulus maths, refer to the link:

https://brainly.com/question/25925813

#SPJ6

Help to get unblocked on here

Answers

Answer:

please am sorry

Explanation:

please I mean to help you but I don't know the process

Who developed the first triage-like system for Napoleon's ar

Answers

Baron Dominique-Jean Larrey

Where is the BIOS stored?

CPU
CMOS
RAM
Northbridge

Answers

Answer:

bios stored in CMOS ...

BIOS software is stored on a non-volatile RAM chip on the motherboard. In modern computer systems, the BIOS contents are stored on a flash memory chip so that contents can be rewritten without removing the chip from the motherboard.

Hope I helped ❤️
Plz mark me brainiest? :)

PLEASE HELP MEEE I WILL GIVE BRAINLIEST


What is a possible value for the horizontalInput variable? Remember Input.GetAxis returns a float value between -1 and 1

Question 6 options:


-10


0.52


“Right”


Vector3.Up

Answers

Answer:

0.52

Explanation:

Can Someone help plz?

Answers

Answer:

i dont understand sorry

Explanation:

Go to your Canvas course and locate the Assignment: Writing Prompt 1: Is the Internet making us Meaner?and complete the activity.


When you are finished, come back here and copy/paste the following as your answer below:


I have completed the Writing Prompt 1: Is the Internet making us Meaner? activity and submitted my assignment in CANVAS. By pasting this text below. I understand that the grade marked here is NOT the grade for the actual assignment and only a place holder for the grade I earn in Canvas.

Answers

Answer and Explanation:

The Internet is not changing anything other than making you extreme. The nice become nicer, the mean become meaner, the nice become mean, and the mean become nice. The internet just makes things easier to do. It really isn't a factor in if you are mean or not.

Answer:

Explanation:

POV: you didn’t find your answer

What game is this? help meee

Answers

Answer:

I am guessing animal crossing

That’s the emoji game

Select the correct answer
in the context of website navigation, what is a node?
a point at which the user chooses a certain path
a part of a web page that gives it a unique identity
a navigational aid that tells users know where they are
a hyperlink that leads to the home page

Answers

Answer:

a point at which the user chooses a certain path.

Answer:

a point at which the user chooses a certain path.

Explanation:

what do u do to me pepa

Answers

Peppa: Hello Susie!

Susie: *mehhh* Hello Peppa!
What are you doing?
Peppa: I'm learning to whistle,

but I can't do it yet.
Susie: Hmm.. that sounds hard.
Peppa: It's impossible!
Uh.. can you whistle Susie?
Susie: No

Peppa: *honk* Oh good! I mean-
that's sad if you can't whistle

but good because I can't whistle

Susie: What's whistling anyway?
Peppa: You put your lips together
and blow!
Susie: Like this? *whistles*

Answer:

903-780= 123

we know this because 123 = 123 and that is the answer

Write a function called hms_to_secs() that takes three int values—for hours, minutes, and seconds—as arguments, and returns the equivalent time in seconds (type long). Create a program that exercises this function by repeatedly obtaining a time value in hours, minutes, and seconds from the user (format 12:59:59), calling the function, and displaying the value of seconds it returns.

Answers

Solution:

#include<iostream>

using namespace std;

class timeconvert//class

{

     public:

         int hms_to_secs(int h,int m,int s)//function of the class

               {

                   return (h*3600+m*60+s);

               }

};

int main()

{       timeconvert obj;//creating object of the class

       int h,m,s,total;

       cout<<"enter hour";

       cin>>h;

       cout<<"enter minute";

       cin>>m;

       cout<<"enter second";

       cin>>s;

       total=obj.hms_to_secs(h,m,s);//function call

       cout<<"total second of"<<h<<":"<<m<<":"<<s<<"="<<total;

}

/*

sample output:-

enter hour12

enter minute59

enter second59

total second of12:59:59=46799

*/

In this exercise we have to use the computer language knowledge in C++ to write the code as:

the code is in the attached image.

In a more easy way we have that the code will be:

#include<iostream>

using namespace std;

class timeconvert//class

{

    public:

        int hms_to_secs(int h,int m,int s)//function of the class

              {

                  return (h*3600+m*60+s);

              }

};

int main()

{       timeconvert obj;//creating object of the class

      int h,m,s,total;

      cout<<"enter hour";

      cin>>h;

      cout<<"enter minute";

      cin>>m;

      cout<<"enter second";

      cin>>s;

      total=obj.hms_to_secs(h,m,s);//function call

      cout<<"total second of"<<h<<":"<<m<<":"<<s<<"="<<total;

}

/*

sample output:-

enter hour12

enter minute59

enter second59

total second of12:59:59=46799

*/

See more about C++ code at brainly.com/question/25870717

An important part of the development of transport is safety. how can you, when you get around in different ways, contribute to making it safer on the roads

Answers

Answer:

I need help I don't get a this questions please asap?

Explanation:    Head-on collisions. Some simple solutions can help to reduce the risk of head-on crashes. ...

   Run-off road crashes. This is when a vehicle collides with a stationary object, such as a sign or lamppost, after leaving the road. ...

   Intersection crashes. ...

   Vulnerable road users. ...

   Much work to be done.

Aug 31, 2018

Which one bc im struggling

Answers

Answer:

cant really see it

Explanation:

Other Questions
CAN SOMEONE HELP ME ON 14-20 PLEASE!!!!!!!!!!!! The charge of a capacitor is 1500C. Determine the potential difference between the plates if their capacitance is 5F. _________ was the last prophet. He prepare the people for the public ministry of Jesus.The people who aske God for a king, so he told Samuel _______ with oil certain men to lead his people.Reading from the prophet Isaiah are read at Mass during _____, which is the reason that helps us get ready to celebrate Christmas. Neha said,"Nobody knows what he speak" . A regular garden hose can pump 1,200 gallons of water in 2 hours. What is the unit rate ofthe water flow measured in gallons per minute? PLEASEE HELP.!! ILL GIVE BRAINLIEST.!! *EXTRA POINTS* DONT SKIP:(( Seek assistance from only from neighbors that live next door to your house during medical emergency true or false Read these specific details: Most salamanders lay their eggs in ponds. Most salamanders must keep their skin damp. Some salamanders have gills, as fish do. Where would a salamander most likely be found? A salamander would most likely be found in Ten bags of rice, each marked 5kg rice, actually contained the following weights of rice(in kg) : 5.04kg, 4.95kg, 4.97kg, 5.00kg,5.02kg, 5.05kg,4.97kg, 5.00kg, 4.99kg and 5.00kg. Find the probability that any of these bags chosen at random contain less than 5kg of rice. 12 divided by 1/2 is How to keep yourself from cutting yourself in your your sleep when sleep walking? Please help if you can! Can someone please write an essay for me? Please. I suck at writing so please help me out. The measures of an exterior angle and the adjacent interior angle add up to 360 because they form a linear pair.A. True B. False The FBI believes they have found a source of money laundering for a crime syndicate. They suspect that documents are being held in a warehouse by the boat docks. In order to raid this warehouse in search of the documents, the FBI is going to need a search warrant. What court or official will they MOST likely ask for this warrant? The founder of modern China is _____. Chiang Kai-shek Sun Yat-sen Mao Zedong Tongmenghui ;-;" welp... umm my question is in da pic could anyone help me with these two questions? I need the answer by November 4th You buy 6 items for $25,60. About how much did you spend? if the first three words are the boy is down,what are the last three words?