How did you generate a random number for the user to guess? by using the built-in randint function by using the built-in random function by using the random method from the random module by using the randint method from the random module

Answers

Answer 1

Answer:

by using the randint method from the random module

Explanation:

The randint() method is a method or function in the random python module. It is used to get or return an integer number within a specified range.

To use the method, the module must be imported into the python file with the "import random" statement, then the method is referenced using dot notation and specifying the range of integer numbers.

syntax: random.randint(first_number, last_number)

Note that the last number in the range is inclusive in the selection.

Answer 2

Answer:

A. randint

Explanation:

I got it right on a quiz


Related Questions

You are going to do a bubble sort on the following list. What are the missing members of the list? Select 3 options.
[10, 3,
12
0.005
dog
3,5
'cat'
Hellllpppp

Answers

The bubble sort makes multiple passes through a list. It compares adjacent items and exchanges those that are out of order. Each pass through the list places the next largest value in its proper place. In essence, each item “bubbles” up to the location where it belongs.

[3,5,'dog', 'cat']  are the missing members of the list . Hence option d, e and f are correct.

What is bubble sort?

Bubble sort is defined as the most straightforward sorting algorithm, which continually switches nearby elements if they are out of order. Until no swaps are required, the passing operation is repeated, signifying that the list is sorted.  Bubble sort is well-known in computer graphics because it can find a very minor defect in almost-sorted arrays and fix it with simply linear complexity (2n).

This question would be something you would know since your teacher has taught you it previously, but until you show me the entire lesson, it will probably just be a guessing game. 11 12 22 25 34 64 90 is a sorted array, and I've seen "dog" and "cat" used in coding multiple times.

Thus, [3,5,'dog', 'cat']  are the missing members of the list . Hence option d, e and f are correct.

To learn more about bubble sort, refer to the link below:

https://brainly.com/question/13161938

#SPJ2

1-5 Safety measures in the use of kitchen tools and equipment.​

Answers

Answer:

Safety measures are as follows;

Explanation:

Hold the delicate instruments cautiously to use them.Require appropriate use of the equipment in the kitchen.Users should remove these defective instruments or discard of them.During and before use, check that perhaps the resources that will be used are indeed safe.In a cold and dry spot, all equipment must be kept.

The algorithm below is used to find the largest element in a list of numbers.
By modifying one of the lines in the program it is possible to make the algorithm find the SMALLEST element. Which line would need to be modified and how?

Answers

The line that can be modified in the algorithm to return the smallest of the list is line 04

From the question, we understand that:

The algorithm returns the largest of all elements in a list

The above action is executed on line 04

To change the function of the algorithm to return the smallest, line 04 must be modified as follows:

IF (num < target)

Hence, the line that can be modified in the algorithm to return the smallest of the list is line 04

Read more about algorithms at:

https://brainly.com/question/24793921

I need help with this. It's while loops in python.

Answers

Answer:

Here is a simple application running loop example in python

running = true

while(running):

# YOUR CODE HERE

Explanation:

A while loop is basically a loop of something if something is true

so if there is a boolean set to true for a application to run then use a while loop. Have a nice day! :)

Microsoft word is an example of utility software?

A.true
B.false​

Answers

Answer:

false

Explanation:

Ms word is only an application software

Answer:

Option B. False is the correct answer.

Explanation:

A software that is used to take care of computer and its resources is called utility software while Microsoft word is a dedicated software for documentation and report writing also called application software.

Hence,

Option B. False is the correct answer.

Identifying Responses and Replies
Use the drop-down menus to complete the sentences about message response options in Outlook.
v sends your response to everyone who received the initial email.
v creates a new message that includes the initial message to a new recipient.
v sends your response to only the sender of the initial message.

Answers

Answer:

Identifying Responses and Replies by using the drop-down menus to complete the sentences about message response is written below in detail.

Explanation:

A situation like this may be:

Someone receives a bike. They travel it and all, and then all of an unexpected they fall and get injured

If you only understood the first section of how the person received a bike when you draft a response, you would only draft about that piece, but getting harm after receiving the bike is also a huge portion of the "story". You could draft like how you were so pleased when you received your first bike, but you wouldn't remember to address the time you got injured when you were riding down a hill or something.

Answer:

Reply All

Forward

Reply

Explanation:

How does the technology work

Answers

Answer:  it does – or perhaps appears to do – in the world.

Explanation:

sorry if am not right have a nice day lol

Answer: technology work by chips wires in the botton of it or in the back of it and there metel in it they wire thing to it to make it better like phon

In Outlook 2016, the Tell Me function can be accessed by
O pressing F1 on the keyboard.
clicking on the File tab, then the question mark button.
typing a query in the textbox on the ribbon.
typing "help" in the search box in the message pane.

Answers

In Outlook 2016, the Tell Me function can be accessed by

O pressing F1 on the keyboard.

clicking on the File tab, then the question mark button.

typing a query in the textbox on the ribbon.

typing "help" in the search box in the message pane.

Explanation:

I think it should be typing a query in the textbox on the ribbon.

In Outlook 2016, the Tell Me function can be accessed by clicking on the File tab, then the question mark button. The correct option is B.

What is Outlook?

The preferred email client for sending and receiving emails from Microsoft Exchange Server is Microsoft Outlook. Accessibility to contact, email, calendar, and task management tools is also provided by Outlook.

You can send and receive emails, manage your calendar, save the names and phone numbers of your contacts, and keep track of your projects using Outlook.

Even if you utilize Outlook on a daily basis, you might not be aware of all the wonderful things it can do to boost your productivity.

By selecting the File tab, then the question mark button in Outlook 2016, you may open the Tell Me feature.

Thus, the correct option is B.

For more details regarding Microsoft outlook, visit:

https://brainly.com/question/26695071

#SPJ2

20 points for ez question lol

Which are characteristics of effective presentations? Check all that apply.

The presentation is well organized.
The presenter speaks clearly.
The presenter reads from notecards.
The presentation is enhanced with visual aids.
The presentation includes some delay to set up audio or video.
The presentation captures the audience’s attention.

Answers

The characteristics of effective presentations are:

The presentation is well organized. The presenter speaks clearly.

What are characteristics of an effective presentation?

Others are:

The presentation is enhanced with visual aids. The presentation captures the audience’s attention.

A good presentation is known to be one that is often concise and also  focused on the topic that is under discussion.

Note that when the above presentation follows the option written above, it is said to be an effective or good presentation.

Learn more about presentations from

https://brainly.com/question/24653274

#SPJ2

Answer:

A,B,D,F

Explanation:

The presentation is well organized.

The presenter speaks clearly.

The presentation is enhanced with visual aids.

The presentation captures the audience’s attention.

Explicar en qué sectores están divididos los procesos de producción y su importancia para el desarrollo tecnológico y económico del país. Indique dos ejemplos en cada sector

Answers

Answer:

Un sector económico es una rama de la economía en específico, caracterizada por englobar dentro de sí una serie de actividades interrelacionadas según cómo cada una contribuye al desarrollo económico del país. Una clasificación general popular de la economía es la división en los siguientes cuatro sectores:

1) Sector primario. El sector primario es el sector económico que abastece de materias primas y alimentos. Este sector abarca los sectores de agricultura, ganadería, caza, pesca y extracción de minerales. El procesamiento de estas materias primas se realiza en el sector secundario.

2) Sector secundario. Este sector se conoce como industria. Esto incluye todas las empresas y actividades que procesan las materias primas del sector primario. Los productos suelen ser revendidos al consumidor por el sector terciario.

3) Sector terciario. Este sector incluye los servicios comerciales: empresas que quieren obtener ganancias vendiendo sus servicios. El sector terciario incluye tiendas, catering, teatros, peluquerías, mayoristas, empresas de transporte, arrendadores, agencias de empleo, contables, abogados, consultores y empresas TIC.

4) Sector cuaternario. El sector cuaternario es el de servicios no comerciales, el único sector económico sin ánimo de lucro. Este sector incluye los servicios gubernamentales y los servicios subvencionados por el gobierno. Los ejemplos son hospitales, hogares de ancianos, cuerpos de bomberos, defensa, salud, trabajo social, educación y cultura.

Answer:

hola

Explanation:

Why is it important to know the skills, experience needed and pay for a potential career choice?

Answers

you want to know what you’re future might look out to be (labor, money, health, spirit)

which line of code will allow you to only load the localtime() method into active memory

Answers

Answer:

from time import localtime

Explanation:

have a lovely day :)

The line of code that will allow you to only load the localtime method into active memory is time.

The localtime function is simply known to be time in seconds as long as Epoch is targeted by timer into a broken-down time.

It is mostly written in local time. The function is known to be of timezone and any seasonal time adjustments. Local timezone information is used as though localtime() calls tzset().

LocalTime cannot have a muted date-time object that shows a time, often viewed as hour-minute-second. Time is shown in nanosecond precision.

Learn more from

https://brainly.com/question/19639119

You created a two-dimensional array with the following code.

A = [20, 'tennis', 'blue']
B = [15, 'soccer', 'green']
aList = [A, B]

How do you refer to 'green'?

Answers

Answer:

aList[1][2]

Explanation:

One can refer to the 'green' as per the given array, by aList[1][2].

What is an array?

An array is a type of data structure used in computer science that contains a set of elements (values or variables), each of which is identified by an array index or key.

An array is stored in a way that allows a mathematical formula to determine each element's position given its index tuple.

Use the new keyword, a space, the type, the number of rows in square brackets, and the number of columns in square brackets to build an array, as in new int[numRows][numCols].

A 2D array has as many elements as its number of rows twice its number of columns.

Thus, aList[1][2] is the way to represent a two-dimensional array.

For more details regarding array, visit:

https://brainly.com/question/13107940

#SPJ2

Select all the correct answers.
Flynn has drafted a research paper using a word processor. Which of the following will help him to enhance the readability of the paper and give it a professional look?

using bulleted or numbered lists
tracking revisions to the draft
presenting data in tables
inserting headers and footers on each page
formatting section headings in a different font type and size than body text
SELECT ALL THAT APPLY WILL GIVE BRAINLIEST

Answers

Answer: Bulleted or numbered lists, presenting data in tables, and the formatting one.

Explanation: I’m taking the test and i’m pretty sure that’s right, lmk if you got a better answer though!

Answer:

A, C, E

or 1, 3, 5

Explanation:

Took the test!

write the name of the tab, command group, and icon you need to use to access borders and shading dialog box​

Answers

Answer:

Tab: Home Tab

Command group: Paragraph

Icon: Triangle

Explanation: Trust

Which is an email protocol that retrieves email without deleting the email and its attachments from the server?
Simple Mail Transfer Protocol (SMTP)

Internet Message Access Protocol (IMAP)

Post Office Protocol version 3 (POP 3)

Simple Network Management Protocol (SNMP)

Answers

Answer:

Internet Message Access Protocol (IMAP)

Explanation:

The "Internet Message Access Protocol" or IMAP was created by Mark Crispin at the Stanford Knowledge Systems Laboratory. It allows a person to access his email from his local server. In comparison to the Post Office Protocol Version 3 (POP 3), which deletes the emails once they are downloaded, the IMAP allows the contents to be saved on the server. The email will only be deleted if the user intends to do so.

Answer:

It is Pop 3 not IMAP

Explanation:

Correct on edg 2022

The
command is used to fix a mistake immediately after you make it.
Redo

Undo

Correct

Fix

Answers

The answer is Undo I think
Undo I think to a good

What is true about the dilation?
On a coordinate plane, the image rectangle has points (0, 0), (0, 8), (9, 8), (8, 0). The pre-image has points (0, 0), (0, 2.5), (3, 2.5), (3, 0).

It is a reduction with a scale factor between 0 and 1.
It is a reduction with a scale factor greater than 1.
It is an enlargement with a scale factor between 0 and 1.
It is an enlargement with a scale factor greater than 1.

Answers

Hey hey hey! I recently took the test and the answer is D | (• ◡•)|

Answer:

The answer is A

Explanation:

Trust me I promise you its A

I chose D and got it wrong

Which of the following programming languages were initially developed to teach programming techniques to students? Choose all that apply.

Answers

Answer:

BASIC programming language

Pascal programming language

Explanation:

C++ programming language

Java programming language

BASIC programming language

Pascal programming language

Answer:

it's C and D

Explanation:

The answer is D!!Readable code includes
o the use of formatting to make the code look better.
the use of dense lines of code without indentation.
o the use of comments that are of no use to future users of the progran

Answers

Answer:

D

Explanation:

says in title

Readable code includes the use of comments that are of no use to future users of the program. The correct option is c.

What are readable codes?

Readable code is just code that makes its goal crystal plain to the reader. The likelihood is that other developers will read the code we write and want to either comprehend it or modify it. It's interesting to read the code. Variable, function, and class names in the code are meaningful.

The code may need to be tested, a bug fixed, or a new feature added. The evolution of the codebase is facilitated by readable source code, which makes it easier to read and comprehend the abstraction phases. Future developers can save time and effort by writing readable code.

Therefore, the correct option is c, the use of comments that are of no use to future users of the program.

To learn more about readable codes, refer to the link:

https://brainly.com/question/19540616

#SPJ2

When you get a new sim card do it come with a new number or do you have a activate the phone and get a new number in store ?

Answers

put the sim card in the phone and turn the phone on, it technically comes with the card but you really interact with it until you turn the phone on.

Any device that uses light to read and write information.

A. Optical Drive

B. Peripheral Device

C. Laser Device

D. Optical Device

Answers

I think Optical Drive does.

Answer:

the answer is optical drive

Explanation:

hope that helps thanx optical drive uses reflected light to read data.

What might the Internet of Things do in the future?

Answers

The future of IoT has the potential to be limitless. Advances to the industrial internet will be accelerated through increased network agility, integrated artificial intelligence (AI) and the capacity to deploy, automate, orchestrate and secure diverse use cases at hyperscale.

HELP ASAP !!! What should be a one-page document?
O recommendations
O transcript
O cover letter
O resume

Answers

A resume should be about one page long

Will MARK BRAINLIST
What refers to the level at which a player is interacting with a story or game?

Group of answer choices


engagement


flow


emotion


distance

Answers

I’m not 100% sure... but I think the answer is engagement.

Hope this helped!

Application software consists of programs that perform a specific task for users. Examples include microsoft word internet explorer and micro type 5.

A.true
B.false​

Answers

Answer: verdadero

Explanation:

Rapunzel s-a născut într-un ţinut îndepărtat într-un regat necunoscut. Mama vitregă a închis-o pe Rapunzel într-un turn foarte înalt ce avea N metri. Aici Rapunzel urma să-şi petreacă toată copilăria. Pentru a-i trece timpul mai uşor, Rapunzel cânta din zori şi până în seară, cântecul ei auzindu-se în tot ţinutul. Atras de vocea de privighetoare a fetei, Flynn Rider şi-a propus să se caţere pe pereţii exterior ai turnului şi în fiecare zi să procedeze astfel: de la răsăritul până la asfinţitul soarelui să parcurgă M1 metri iar apoi, de la asfinţit până la miezul nopţii încă M2 metri. Scrieţi un program care determină după câte zile ajunge Flynn Rider la Rapunzel.

Answers

Iche hebie zaft no guts dude

How did you generate a random number for the user to guess?
A - by using the randint method from the random module
B - by using the built-in random function
C - by using the built-in randint function
D - by using the random method from the random module

Answers

Answer:

B

Explanation:

The build in random function will work the best for your case. Have a marvelous day. :)

Answer:

B.

Explanation:

I got it right on the test.

Write a method that takes a RegularPolygon as a parameter, sets its number of sides to a random integer between 10 and 20 inclusive, and sets its side length to a random decimal number greater than or equal to 5 and less than 12. Use Math.Random() to generate random numbers.

Answers

Answer:

import java.lang.Object

import java.lang.Math

public class RegularPolygon  extends java.lang.Object{

  public void randomize(RegularPolygon c){

       int min = 10, max1 = 20;

       double  min1 = 5, max1 = 12;

       double range = (max - min) + 1;

       double range1 = (max1 -min1) + 1

       int side = (Math.random() * range) + min;

       double len = (Math.random() * range1) + min1;

       c.setNumSides(side);

       c.setSideLength( len);

 }

 public static void main(String[] args) {

    RegularPolygon r = new RegularPloygon();

    randomize(r);

 }

}

Explanation:

The randomize method accepts a regular polygon class as its only parameter and assigns a random number of sides and the length of these sides with the 'Math.random' function.

Explaining AutoCorrect
How is the AutoCorrect feature useful in Outlook 2016? Check all that apply.
It checks for common typing errors.
It can automatically fix the error while you are typing.
It suggests email recipients that might be interested in your message.
It underlines words that need spelling and grammar corrections.
It ensures that you are emailing the correct recipients.

Answers

Answer are: 1st one, 2nd one, 4th one

It checks for common typing errors.
It can automatically fix the error while you are typing.
It underlines words that need spelling and grammar corrections.

Answer:

1, 2 and 4

Explanation:

Other Questions
Please help! I will mark brianliest!! which of the following was an argument made against slavery in the 13 colonies What is the recursive formula of the arithmetic sequence 0,11,22,33, is Rome society worth celebrating? explain ur reason. HELLLPPPPPPPPPPPPPPPPPP "I'm sorry I'm late," he murmured(1 Point)lamentedpatheticallymournfullyapologeticallyPls help what is the answer 3. Which of the following statements about the cotton gin is false?a) The invention of the cotton gin increased the need for slave labor in thesouth.b) The cotton gin increased the speed at which cotton could be produced.c) The invention of the cotton gin slowed clothing and textile production.d) The cotton gin made southern farmers significantly more money. A vectorof magnitude 5 units and another vector of magnitude 3 units point in directionsdiffering by 60. Find out (a) the scalar product of the two vectors and (b) the vector product of the two vectors Here is a rectangle ABCD.B- length 20 cmD-width 30 cmThe length of the rectangle is increased by 10%.The width of the rectangle is increased by 5%.Find the percentage increase in the perimeter of the rectangle. The slope of line TV is 3/5. What is the slope of any line perpendicular to TV?options:5/33/53/55/3 Select the correct answer.Which of the following is most the suitable time management tool?A. working after-hoursB. listing tasks C. doing unplanned tasksD. starting the day's work later than one's colleagues for a field trip a bus company charges a flat fee plus an additional fee per student. for 25 students, the total cost is $200, if there are 30 students, the total cost is $230. write an equation in point slope form,where y repersents a cost for any given number of x students Please help with this! Show how you got it!!! Will mark brainliest!! Help Please I will give brianliest if correct!! ntex Ltd. issued 10,000, 10% Debentures of Rs.100 each at a premium of 10%, full amount being payable along with application. Applications were received for the debentures issued and allotment was made. Pass the journal entries. The total mass of an atom expressed in atomic mass units is known as the *mass number.atomic number.isotopic number.covalent number. Mary, Hans, and Alan have a total of $54 in their wallets. Mary has $10 more than Hans. Alan has 2 times what Mary has. How much do they have in theirwallets Stephanie is baking cookies for a party. The recipe calls for 3 cups of flour,2 cups of milk, and 1 cup of chocolate chips. What percentage ofStephanie's cookie recipe is chocolate chips? * Jason makes a fruit salad using only strawberries and blue berries. The ratio of strawberries to blueberries in Jason's fruit salad is 4 cups to 5 cups PLEASE HELPThe picture below shows a loading platform that extends out 6 feet from the back of a truck. What is the exact length of the platform?