What function in the secrets module can generate random integers between one and 30, including the possibility of both one and 30.

secrets.random(30)


secrets.randbelow(31)


secrets.randbelow(30)

secrets.random(30)

Answers

Answer 1

Answer:

secrets.randbelow(31)

Explanation:

This is Python Language, and secrets is an external module. So, to use it you need to install it using pip, just type pip install secrets in any terminal. And secrets module will be installed. If you will use the 1st or last code it will give give you error, because secrets module does not have any attribute named random. If you will use the 3rd code it will print random number from 0 to 29 only. If you also want to print 30, you need to you need to write the code given below:

import secrets

secrets.randbelow(31)


Related Questions

Most people have unexpected expenses at some time. Yes. No.

Answers

Answer:

Yes

Explanation:

what is the full form of MHz​

Answers

Answer:

megahertz

Explanation:

The megahertz, abbreviated MHz, is a unit of alternating current (AC) or electromagnetic (EM) wave frequency equal to one million hertz (1,000,000 Hz). The megahertz is commonly used to express microprocessor clock speed.

arithmetic test is given twice within a few days to a student. The highest possible score is 40. He receives a score of 35 the first time and a score of 18 the second time. If similarly varying results are obtained from other students, the test result is probably unreliable in the idea o

Answers

Similar varying results obtained as scores from other students indicates that the test is; Unreliable.

This is about test reliability and it is based on consistent results. This implies that it is a measure of how well a characteristic of a test is measured dependably or consistently.

With reference to the above on test reliability, applying it to our question. If the student took the test twice and got a similar result the two times, then the test is said to measure the score reliably but if the two scores are not similar but vary widely from each other, then the test is said not to measure the score consistently and is said to be unreliable.

In our question, since varying results scores are continually obtained for two same tests of same students, then we can say the test does not measure the scores reliably and we can conclude that the test is unreliable.

Read more at; https://brainly.com/question/15136257

Ctrl+Home moves the cell pointer to the cell__________MSExcel.​

Answers

Answer:

key stroke

Explanation:

Ctrl+Home moves the cell pointer to the cell___key stroke_______MSExcel.

The answer will be

[tex]key \: \: \: \: stroke[/tex]

Hope it helps.

ray4918 here to help

what is true of open source software

Answers

Answer:

lo que es cierto del software de código abierto?  

opera con los principios subyacentes de la producción de iguales y la colaboración masiva, creando un desarrollo de software más sostenible para los usuarios finales.

Explanation:

Match each term to its definition.

parameter
return value
function

a value that can be passed from a function back to the calling part of a program.

a value that can be passed to a function

a group of instructions that can be used to organize a program or perform a repeated task

Answers

Answer:

Parameter - A value that can be passed to a function

Return Value - A value that can be passed form a function back to the calling part of a program

Function - A group of instructions that can be used to organize a program or perform a reapeated task.

how do you unblock things on a school cromebook?

Answers

Answer:

School chromebooks are usually controlled/managed my administrators or teachers, so if you wanted to unblock things on a school chromebook you would have to ask an administrator or teacher at your school.

What is another term for the notes that a reader can add to text in a word-
processing document?
Columns
Formatting
Font
Comments

Answers

Another term for the notes that a reader can add to the text in a word-processing document is known as Comments. Thus, the correct option for this question is D.

What are the characteristics of word documents?

The characteristics of word documents are as follows:

It allows a user to construct professional write-ups.It has editing and formatting tools that modify the existing documents.It authorizes the user to insert charts, tables, diagrams, etc. within the document to make it more attractive.

According to the context of this question, a comment is another term that represents the notes a reader can normally insert within the existing document in order to modify or highlight the required text in the document.

Therefore, a comment is another term for the notes that a reader can add to the text in a word-processing document. Thus, the correct option for this question is D.

To learn more about word-processing documents, refer to the link:

https://brainly.com/question/1596648

#SPJ1

What is the purpose of a project overview?


to provide specific roles for all of the “little people” working on the project

to provide an “up close” look at the project to the leadership

to provide an “in-depth” look at all of the tasks that will need to be done

to provide a “big picture” of the project to everyone involved

Answers

Answer:

option 3 should be the answer is this helps please give the brainliest award.

Answer: D

to provide a “big picture” of the project to everyone involved

this is the right answer

Which format has the largest file size?

Answers

TIF hope this helps you out

Please help lol..
Type the correct answer in the box. Spell all words correctly. Which description uses two to three sentences? A short (two to three sentences) description of a story that includes the main character, the antagonist, and the genre of the story is a _____ .

Answers

Answer:

This would be called the summary or the synopsis. In further detail, it's a short, lively overview of a story, including the main character, the antagonist, and the genre.

Explanation:

Hope it helps!

Answer:

introduction

Explanation:

Please help me ASAP!!

In Python, year = 2018 is known as a(n):

O conditional expression.
Otest case.
Oassignment statement.
O declarative indicator.

Answers

Answer:

assignment statement

Explanation:

it is assigning the number 2018 to variable called year

it is NOT checking to see if it was true (then it would be ==

9. These particular machines can be decentralized.

A) Risograph
B) Photocopier
C) Desktop computer
D) Printers

__and__??

Answers

Answer:

A, B

Explanation:

Because the desktop computer and the printers are decentralized, they're connected with another noce in a company.. So I suppose that the Risograph and photocopier isn't decentralized.

Write a Python program in which a student enters the number of college credits earned. If the number of credits is greater than 90, 'Senior Status' is displayed; if greater than 60, 'Junior Status' is displayed; if greater than 30, 'Sophomore Status' is displayed; else, 'Freshman Status' is displayed.

Answers

Answer:

CONCEPT:Python code to get the status of Student based on thier Earnings CODE: def main(): print('Student Classification Software.') try: userCredit =int( input('\nPlease enter student credits: ')) if userCredit >90: print('\nSenior Status') elif 60 <userCredit <90 : print('\nJunior Status') elif 30 < userCredit < 60: print('\nSophomore Status') else: # this mean userCredit >= 26...

Explanation:

A certain university classifies students according to credits earned. A student with less than 30 hours is a Freshman. At least 30 credits are required to be a Sophomore, 60 to be a Junior, and 90 to be a Senior. Write a program that calculates class standing from the number of credits earned with the following specifications:

Write a function named determineStatus() that prompts the user for how many credits they have earned and uses a decision structure (if, else, etc.) to determine the class standing of the student. The function should display the standing to the student (85 points).

If the user tries to enter a negative value, the program should alert the user that negative numbers are not allowed (5 points).

Write a main() function that calls the determineStatus() function (5 points).

What the advantages and disadvantages of file sharing to the users​

Answers

Answer:

.....................................

How many times will the loop body execute?
x = 3
while x >= 0:
X = X - 1

3

4

5

6

Answers

Answer:

B. 4

Explanation:

Rules :

x = x - 1

if x = 3, so :

x = x - 1

4 = 4 - 1

4 = 3

Option B

Compare Ethernet frames to other frames.


•Most frames use CRC, but Ethernet does not. •Most frames use a protocol called CSMA/CD.

•Ethernet frames generally do not have stop frames.

•Ethernet frames have more parts in their frame footers.

Answers

Most frames use crux and I can only do a couple

someone pls help me!!!

Answers

Answer:

I think it’s really cool. You don’t have to find someone’s Gm ail and then write a subject and whatever else. You can just send it like a message. I love how it has the call option because it means that you don’t have to have a number to call your friends or family. And you can do business em ail while messaging whoever you need to instead of going back and forth.  

You can promote your business. You can also promote your video and share your screen. It is also a good way to talk to customers to discuss what you need to. A bunch of people have emails and it’s fairly simple to just add your friend and text them.  

It might be hard to figure out at first. But when you get used to it it’s fairly simple. It can also shut down due to a bug and stop working, which makes it even more complicated. You can also get creeps that can hack into your Gm ail and read all of your information.

Explanation: heres a better one with no typos

Explain how AI smartphone software in the rental car can be a threat to privacy.





**Answer and I will give you brainiliest**​

Answers

Answer:

because of the gravity of the earth

Explanation:

because of the gravity of the earth

Answer:

Well, just like there is spyware on phones there are very much likely have spyware on cars too. Think about it if a car can connect to your phone via Bluetooth and take calls it can very possibly have a microphone in it. If that microphone was activated it would be a invasion of privacy hence it can be a threat to privacy. This includes dashboard camera and maybe even when you connect your phone to Bluetooth there might still be a possibility that it can steal your data through that.

What are other ways you could use the shake or compass code blocks in physical computing projects?​

Answers

Answer:

There are different ways of quick navigation between files and functions. ... You should use the menu 'Remove file from project' instead of deleting files. ... A Makefile generation tool for Code::Blocks IDE

Project Description In this exercise, you are responsible for the design and implementation of a school dismissal database. School personal need a database to determine whether students ride the bus at the end of the school day or if students are pickup by an organization or designated adult. The database will be used by school personal to look-up the names of adults and organizations who have the authority to pick-up students from the school from school. To design the database, you will first review the preliminary design requirements. The preliminary design requirements are minimal and incomplete. Add requirements to complete the design of the database. Describe requirements on this document as indicated by the words, Complete this section of the document. You will use Oracle Data Modeler to create a logical and relational model. Then you will implement your database design as an Oracle database. After the Oracle database is created, reverse engineer the database to the relational and logical models.

Answers

Answer:

school bus for. the students

PLZZZ HELPPP NOWW

A person's digital footprint consists of the following:

I. Comments you leave
II. Pictures you post
III. Topics you search
IV. Apps you use
V. Music you download
VI. Emails you send

Answers

Answer:

2 and 6 for sure maybe 3 I'm not too sure on that one

Take the midterm, quiz, and final exam of 5.1 million points, and the average score is 1) A if it is 90 or higher, 2) B if it is less than 90 and 80 or higher, 3) C if it is less than 80 and 70 or higher, 4) Write a program that outputs D if less than 70 and more than 60, 5) F if less than 60.

Answers

Answer:

B

Explanation:

Not so sure

1. What are the main uses for Protein in the body?
2. What are the main types of food you get Protein from?

Answers

Answer:

1 muscle building

2 meats, nuts

Explanation:

1 proteins are needed for growth ,they are used to repair worn out tissues, they are used to make enzymes and hormone they give energy ,they are used to make white blood cells stronger.

2 meat egg fish milk beans

what is a "for loop" that will produce the following output:

1+2 = 3
2+3 = 5
4+5 = 9
8+9 = 17
16+17 = 33
32+33 = 65
64+65 = 129

any help would be very appreciated

Answers

Answer:

128+129= 257

Explanation:

128+129= 257

Answer:

1+2= 3

loop for all interger

3. Find the best.

Write a program that will allow an instructor to enter a series of exam scores. After the last score, the instructor should enter a negative number as a signal that there is no more input. Print the average of all the scores and the highest score entered.

Do this with beginner c programming.

Example output:

Exam Average Program
Enter the scores when prompted, negative number to quit.
> 1
> 10
> 5
> -1

Average Score = 5.3333, best = 10

Answers

Answer:

1. is the answer

Explanation:

mark me as brainlest

Of the following options, which is most helpful in developing the effective study habit of staying organized? Keep pens, pencils, and highlighters off the desk. Put all computer files in one folder on the desktop. Store notes for all courses in a single notebook. Use a calendar to keep track of assignment due dates.

Answers

Answer:

use a calendar to keep track of due dates.

Explanation: If you use a calendar all of your assignments will be kept track of and will be organized not causing you to stress or become unmotivated to do any work at all.

Use a calendar to keep track of assignment due dates is most helpful in developing the effective study habit of staying organized. Hence, option D is correct.

What is effective study?

Longer study sessions are less effective than shorter, more concentrated ones. In fact, one of the best study methods is to spread out your studying over a few sessions. During rigorous study sessions, which might last 30 or 45 minutes each, active learning strategies are applied.

Spaced practice, also known as scattered practice, is learning that occurs throughout a number of sessions at various times. Effective study methods can help you feel better about yourself, more competent, and more confident.

They can aid in reducing the pressure brought on by due dates and exams. You might be able to cut down on the amount of time you spend studying and free up more time by strengthening your study habits.

Thus, option D is correct.

For more information about effective study, click here:

https://brainly.com/question/10336207

#SPJ2

The code below the directions is all I have gotten so far would love any help to solve this thanks.

Answers

Answer:

variable = input("Enter some text: ")

midIndex = (len(variable) // 2)  

midFix = variable[midIndex-1:midIndex+2]

print('Length is:', len(variable))

print('Middle index is:', midIndex)

print('Midfix of 3 is:', midFix)

Explanation:

You will want to do integer division here (//)

Also, keep in mind that the very first character of the string has index 0, which is why the midFix runs from  midIndex-1 to midIndex+2

Is this correct just need somebody to check my answer plz and use your honest answer

Answers

Answer:

your answer looks correct

Write a program that get
the age of 50 people and
display the number of
people that fall under:
1. Baby : 0-5
2. Kids and teenagers: 6-17
3. Adults : 18 and over

Answers

Answer:

people = list(map(int, input().split()))  # gets input and makes them into an integer

for i in range(len(people)):

   if 0 <= people[i] <= 5:

       print('Baby')  # You didn't specify how you want to 'store' the info, but I'm just going to print it out

   elif 6 <= people[i] <= 17:

       print('Teen')

   elif 18 <= people[i]:

       print('Adults')

Explanation:

This is the basic structure of the code. This is written in Python 3x. If you are writing in a different language, then just use the template given to you!

Other Questions
Four of the five answers below are related by a common phase of mitosis. Select the exception. Group of answer choices chromosomes align at the spindle equator sister chromatids become individual chromosomes centromeres divide the chromosomes move apart spindle microtubules shorten, pulling chromosomes toward the poles What rights are protectedin most democracies?t HELP ME DADDYWhich statement accurately describes a digital signature?It protects the digital software that users access and apply.It protects data from a database as it travels across the internet.It prevents other users from accessing from an unsecured network.It prevents other people from opening the software in other locations. according to the graph, what is the approximate average rate of change in the radius of the circle as the area increases from 3 square feet to 7 square feet? Please help me with this kahn assignment!Thank you Kyleigh invested $2800 in an account paying an interest rate of 5 1/2% compounded annually Ariana invested $2800 in an account paying in interest rate of 5 3/4%compounded continuously after 12 years how much more money with Ariana having her account then Kylie to the nearest dollar? QUICK HELP ME! HELP HELP HELP HELP PLS!!!!!!! Make a thesis Statement about why there should be gun restrictions!!!!! fill in the blanks to complete the concept map for the process of translation Here it is the problem:) De dnde se obtienen los datos generales complementarios que se utilizan para calcular la razones de actividad Pleaseee helpppppp!!! which is an example of genetic diversity HELP ASAP!!!!! BRAINLIEST AWARD!!!!!!Choose one of the theorems about chords of a circle and state it using your own words. Create a problem about chords that uses the theorem that you explained. Solve the problem.examples below: Why don't individuals with Tay-Sachs pass on the Tay-Sachsallele?aTay-Sachs disease is a recessive human geneticdisorder.b Carriers are not affected.c Affected individuals do not have children. Identify slope (m) and y-intercept (b): 4y - 3x = 4*1. m = 4/3 b = 42. m = 3/4 b = 13. m=-3 b = 44. m = 3/4 b = 4 Find the value of x. 5x+33+17x+37 A gift box has the dimensions of 16 inches by 11 inches. What is the perimeter of the box in feet? Someone help me please !!! How did the growth of Portugal'ssugarcane plantations contribute to the growth of theEuropean slave trade?