answer this correct and get brainly
Using pseudocode, write an algorithm that someone else can follow.

Decide on a question to ask the user. Some ideas include:
What grade are you in?
What sport do you play?
Where did you go on vacation?
Use one variable to store the response.
Use one if-else statement to make a decision based on the user's input.
Display two messages; one for each condition (True and False).
Insert your pseudocode here: (you only need to do one)
Flowchart Write it out

Flowchart: Input leads to if statment. If true print response. if false print different response. Program ends. Get input:


If statement:



Print if true:



Print if false:

Part 2: Code the Program
Use the following guidelines to code your program.

Use the Python IDLE to write your program.
Using comments, type a heading that includes your name, today’s date, and a short description.
Set up your def main(): statement. (Don’t forget the parentheses and colon.)
Write one if-else statement using user input.
Include a print message for both conditions (True and False).
Conclude the program with the main() statement.
Follow the Python style conventions regarding indentation in your program.
Run your program to ensure it is working properly. Fix any errors you may observe.
When you've completed writing your program code, save your work by selecting 'Save' in the Python IDLE. When you submit your assignment, you will attach this Python file separately.

Part 3: Post Mortem Review (PMR)
Using complete sentences, respond to all the questions in the PMR chart.

Review Question Response
What was the purpose of your program?
How could your program be useful in the real world?
What is a problem you ran into, and how did you fix it?
Describe one thing you would do differently the next time you write a program.

Answers

Answer 1

Pseudocode:

import random

fetch user input on a lucky number

insert input into variable - "response"

new variable, random = randint

condition to check wheather random is our response

display results

Python Code:

import random

def main():

response = int(input("Guess my lucky number, its between 1 and 100: "))

lucky_number = random.randint(1,100)

if response == lucky_number:

print(f"Wow you're right, it is {lucky_number}")

else:

print("Sorry, Try Again")

main()

Reminder:

intended for python3 as i included the format f

also it could be done without the import, just manually insert a number

i'll leave the post mortum to you


Related Questions

Match the data types to the types of value they are: Currency, Text, Date/time, and Name.
$500-
10th January 2015-
56,654.09-
Sample.1234-

Answers

$500- Currency
10th January 2015- Date/time
56,654.09- Number
Sample.1234- Text

What is the best definition of a network?

Answers

Answer:

like tv or wifi

Explanation:

A technology or a computer or a phone !

You are implementing a RAID storage system and have found a system with eight 100 GB drives. How much storage space will you have available? How does the OS handle this RAID?

Answers

Answer:

The space available will vary between 800 GB (100%) and 400 GB (50%) of the total disks, depending on the RAID level.

The OS will handle the RAID as a single disk.

Explanation:

Each RAID level implements parity and redundancy in a different way, so the amount of disks used for this extra information will reduce the space available for actual storage.

Usual RAID levels are:

RAID 0: does not implement any redundancy or parity, so you will have available 100% of the total storage: 8 x 100 GB = 800 GB

RAID 1: Duplicates all the information in one disk to a second disk. Space is reduced in half: 400 GB

RAID 5: Uses the equivalent of 1 disk of parity data distributed evenly on each disk, meaning the space available is [tex]\frac{n-1}{n}[/tex] of the total disks: [tex]\frac{7}{8}[/tex] of 800 GB = 700 GB

Writting and reading the information on a RAID storage is handled by a raid controller, either implemented in hardware or software. The OS will "see" a single disk and will read or write information as usual.

Tools is used to collect the animal manure from the grounds

Answers

Answer:

The options are

A. bolo. B. hole C. rake. D. shovel.

The answer is D. Shovel

Explanation:

The most suitable option is a Shovel which can be used to collect the animal manure from the grounds.

Using a shovel will make the job easier as a result of its very firm handle to lift the manure appropriately and also the curved base to enable proper transfer of the manure from the soil to where it’s needed.

The name of the tool which is used to collect the animal manure from the grounds is:

D. Shovel

According to the complete question, we can see that there are a variety of options to select from that would be most suitable for a farmer to collect manure from the ground.

As a result of this, the name of the farm tool which is used to collect animal manure from the grounds is a shovel.

This is because, a shovel has a long handle and a curved base which can be used to pack things off the ground and it is especially useful in the farm when packing animal manure.  

Therefore, the correct answer is option D

Read more here:

https://brainly.com/question/22488611

Stacy is generating a report for her database. Which of these statements is true about her database reports?
OA. To generate a report will include all her records in her database
OB. The generator report will include all records that a query fetches
OC. Once you generate a report she cannot edit it
OD. A report in itself another database on which she can run queries

Answers

The answer is OB. The generated report will include all records that a query fetches.

why am I doing the investigation?​

Answers

Answer:

What do you mean

Explanation:

Answer:

Because you like to

Explanation:

Deb needs to add borders on the cells and around the table she has inserted into her Word document.




Insert tab, Tables group
Table Tools Design contextual tab
Home tab, Page Layout
Home tab, Format group

Answers

Answer:

Design tab

Explanation:

Select the call or table that you will like to useThen select the design tabIn the group page background select Page Borders There you will have multiple choses for where you want your borderYou can even customize your border by pressing Custom Border at the bottom of the list for Page Borders

Answer:

Table tools design contextual tab

Explanation:

Write a nested loop that prints the following output.
1
1 2 1
1 2 4 2 1
1 2 4 8 4 2 1
1 2 4 8 16 8 4 2 1
1 2 4 8 16 32 16 8 4 2 1
1 2 4 8 16 32 64 32 16 8 4 2 1
1 2 4 8 16 32 64 128 64 32 16 8 4 2 1

Answers

Answer:

Written in Python:

rows = 8

for i in range(1,rows+1):

      for j in range(1,rows):

             print(" ")

      x = 1

      for j in range(1,i):

             print(str(x)+" ",end='')

             x = int(x*2)

      while x >= 1:

             print(str(x)+" ",end='')

             x = int(x/2)

Explanation:

For each row, the print out is divided into two parts.

1. Starts from 1 and ascends to a peak

2. Then descends from the peak to 1

This line initializes the number of rows to 0

rows = 8

This iterates from 1 to the number of rows

for i in range(1,rows+1):

This prints a blank at the end of sequence printed on each line

      for j in range(1,rows):

             print(" ")

This initializes each row element to 1

      x = 1

This iterates the number of item to print on each line depending on the row

      for j in range(1,i):

This prints the row element in ascending order to the peak

             print(str(x)+" ",end='')

This calculates the next element to be printed

             x = int(x*2)

This checks for valid row element to print in descending order to 1

      while x >= 1:

             print(str(x)+" ",end='')

             x = int(x/2)


When do you use online reading tools? Check all that apply.
when there is a word that I do not know how to pronounce
when the text is in a language that I do not fully understand
o when I need to know the meaning of a word
O O O O
O when there are main ideas or details I want to take notes on
when there is information in my reading that I want to look up quickly

Answers

Answer:

the answers are all of them

Answer:

A, B, C, D, E, F

Explanation:

It's any of them. There is no wrong answer.

Got right, on warm up! Hope this helps.

ATTENTION MODERATORS

User "69PierNeedsAnswers69" has been spamming the same message on multiple questions, likely point farming. I request that you time him out as soon as possible.

Link to his profile: https://brainly.com/app/profile/27562423

Answers

Answer: lol

Explanation:

Three of the following values could be stored as strings. When would you NOT use a string command? O To store a word. O To store values NOT used for calculations. O To store decimal values. O To store a list of colors.​

Answers

Answer:

To store decimal values

Explanation:

Decimal values are considered a float data type, not a string, so if the question is asking for the only thing that couldn't be stored as a string, it would be a decimal value.

Decimals can be stored as a string in certain situations, but it would have no value in a mathematical equation.

write query for all products reutrn product name with its amounts due, paid, canceled, and refunded, order the result by product name ascending

Answers

Answer:

SELECT product_name, amount_due, amount_paid,

              cancelled, amount_refunded

   FROM products

ORDER BY product_name ASC;

Explanation:

SQL (Structured Query Language ) was used above.

The SELECT command is used to list all the variables we want in our output.

The FROM command signifies the location.

ORDER BY command ensures that your result is ordered

ASC means Ascending Order.

; signifies the end of the query.

NOTE: Underscores were used because variables cannot be written with spaces between them

The literals in the following statement are Blank 1 and Blank 2.
a = 3.14*r*r/2;

Answers

The awancer is 5.856 because you to the math and militarily

here's a better picture of my pc mouse and keyboard​

Answers

Answer:ok

Explanation:

Answer:

what r ue grades

Explanation:

Your computer is taking longer than usual to open files and you notice that your hard drive light stays on longer than usual which of the following is a possible solution to counteract this one and install any recently added Southward and review to ensure that the recycle bin is empty clear Internet history and cookies and remove any unused files for the desktop three defrag the hard drive or four change the computer power settings to minimal

Answers

Answer:

Clear out unused files

Explanation:

The reason whay the hard drive is so slow is probably because it full of junk. The recycle bin, old update files, cached data, etc. can easily fill up the hard drive, thus slowing it down.

Which word or phrase refers to an increasingly common method of computing and storing files?

A.
Virtual downloads

B.
Outsourcing

C.
Digital technologies

D.
Cloud computing

Answers

The answer is Cloud computing
Hope this helps-

Answer:

cloud computing

Explanation:

What is the importance of internet safety?

Answers

Answer:

1. Identity theft

2. Safety for you and your family and personal info

3. Harrasement and bullying prevention

Some things never to share on the internet with strangers...

1. Full name

2. Birthday

3. State or city of home

4. Pictures of yourself

5. Personal info about you or your family members

6. Personal social media links and tags

Explanation:

hOPE THIS HELPS!! I think some people need a reminder of this sometimes! you didnt give any options so i hope this helps you!

The the concept of plug-and-play is demonstrated by which of the following scenarios

Answers

Answer:

What are the Scenarios

I will update this when you give us them

Explanation:

Answer: Farrah has completed a post-secondary education program and is now ready to begin working, without additional training, on her first day.

Explanation:

Create a query that shows columns employee last name, job title and hire date for those employees who joined the company on or after the first day of December 2016. Do not display job title of stock clerk. Show records in descending order by job title (Z to A).

Answers

Answer:

SELECT last_name, job_title, hire_date FROM employee WHERE hire_date>="01-12-2016" AND job_title != "STOCK CLERK" ORDER BY job_title DESC;

Explanation:

The SQL code queries the employee table returning records of the last_name, job_title, and hire_date columns matching the employees hired on or after December 2016 and job titles that are not stock clerks in the employee table.

The WHERE and AND clause is responsible for the condition while the ORDER BY clause returns the query result in the of the job title in descending order.

Your enterprise LAN uses a VPN so that users working from home can access shared Windows folders in the office, but it doesn't work as well for travelling employees in locations with unreliable or no internet access. What steps could remote users take to keep access to important folders on the road?

Answers

Explanation:

Rather than use LAN or VPN remote connections, cloud services may be a better option to use. They could focus on using alternate remote file access services such as Google Drive, Dropbox, etc. Using these alternative services would be best suitable for unreliable or limited internet connections.

Also, it would be best if remote users download/store important folders when in an area having a stable internet connection.

please choose odd one out please tell fast​

Answers

Answer: arrow key

Explanation:

Using the constant, declare a 1D array to store 10 integers ii. Write a loop that fills the array with 10 random numbers g

Answers

Answer:

Following are the code to this question:

#include <iostream>//defining header file

#include <cstdlib>//defining header file

using namespace std;

int main()//defining main method

{

const int ax[10]={1,2,3,4,5,6,7,8,9,10};//defining a const array ax that store 10 numbers

int r_num[10];//defining an array r_num

int i;//defining integer variable

for(i=0;i<10;i++)//defining for loop to calculate and store random numbers in array

{

   r_num[i]=rand()%100; //use rand function to store value in array

}

cout<<"Elements of the array that stores 10 random numbers: "<<endl;//print message

for(i=0;i<10;i++)//defining for loop for print array value

{

   cout<<r_num[i]<<endl;//print array value

}

return 0;

}

Output:

Elements of the array that stores 10 random numbers:  

83

86

77

15

93

35

86

92

49

21

Explanation:

In the above-given program, two arrays "ax, and r_num" is declared that store value in it, in which the ax array use the const keyword and in the r_num it uses the loop and random function which can be defined as follows:

In the second array "r_num", two for loop is declared, in which the first loop uses the rand function to store value in the array, and in the second array, it prints the value of the array.

Harry has created a Microsoft Excel workbook that he wants only certain people to be able to open. He should use
on the File tab to set a password for the workbook.
Encrypt with Password
Save with Password
Open with Password
Set Password
NEXT QUESTION
ASK FOR HELP
TURN IT IN

Answers

Answer:

Encrypt with password

how do i install glastopf on a windows computer using python and MySQL?

Answers

Explanation:

Connecting to MySQL using Python

Before you can access MySQL databases using Python, you must install one (or more) of the following packages in a virtual environment:

mysqlclient: This package contains the MySQLdb module. It is written in C, and is one of the most commonly used Python packages for MySQL.

mysql-connector-python: This package contains the mysql.connector module. It is written entirely in Python.

PyMySQL: This package contains the pymysql module. It is written entirely in Python.

All three of these packages use Python's portable SQL database API. This means that if you switch from one module to another, you can reuse almost all of your existing code (the code sample below demonstrates how to do this).

Setting up the Python virtual environment and installing a MySQL package

To set up the Python virtual environment and install a MySQL package, follow these steps:

Log in to your account using SSH.

To create a virtual environment, type the following commands:

In a network that uses distance-vector routing protocols, what information is included in the update sent out by each router?

Answers

Answer:

Network or next hop associations

Explanation:

In a network that uses distance-vector routing protocols, the information that is included in the update sent out by each router is "network or next hop associations."

This information is contained in a routing table. It commands a router on which destination is most favorable. It is done by carrying the packet to a certain router that indicates the next hop along the way to the last destination.

In a network that uses distance-vector routing protocols, the information that is included in the update sent out by each router is the network or next hop association.

A distance-vector routing protocol in data networks is vital for determining the best route for the packets that are based on the distance.

It should be noted that distance-vector routing protocol simply measures the distance based on the number of routers that a packet will have to pass. The information that is vital will be the network or next hop association.

Read related link on:

https://brainly.com/question/20595433

Define the missing function. licenseNum is created as: (100000 * customID) licenseYear, where customID is a function parameter. Sample output with inputs 2014 777: Dog license: 77702014

Answers

Answer:

Written in Python:

def licenseNum(licenseYear, customID):

    output = 100000 * customID + licenseYear

    print("Dog license: "+str(output))

 

Explanation:

This line defines the function with parameters licenseYear and customID

def licenseNum(licenseYear, customID):

This calculates the output as stated in the question

    output = 100000 * customID + licenseYear

This displays the output

    print("Dog license: "+str(output))

To call the function, make use of: licenseNum(2014, 777)

Where 2014 and 777 can be replaced with other digits as required

Answer: C++

void DogLicense:: CreateLicenseNum(int customID)   {

 

  licenseNum = (100000* customID) + licenseYear;

 

  return;

}

please complete the spelling please tell fast.​

Answers

Answer:

spacebar and number i think

Explanation:

Answer:

b)ans might be number.........

Write the interface (.h file) of a class Player containing: A data member name of type string. A data member score of type int.A member function called setName that accepts a parameter and assigns it to name . The function returns no value.
A member function called setScore that accepts a parameter and assigns it to score . The function returns no value.
A member function called getName that accepts no parameters and returns the value of name .
A member function called getScore that accepts no parameters and returns the value of score .
My start code:
class Player
{
string name;
int score;
void setScore (int playerScore)
{
score = playerScore;
}
int getScore()
{
return score;
}
}

Answers

Answer:

Following are the class definition to this question:

class Player//defining a Player class  

{

private://use access specifier

string name;//defining string variable  

int score;//defining integer variabl  

public://use access specifier

void setName(string par_name);//declaring the setName method with one string parameter

void setScore(int par_score);//declaring the setScore method with one integer parameter

string getName();//declaring string method getName

int getScore();//declaring integer method getScore

};

Explanation:

In the above-given code, a Player class is defined, that hold a method and the variable which can be defined as follows:

It uses two access specifier, that are public and private. In private, a string and an integer variable "name, score" is declared, which holds their respective value. In public, it declares the get and set method, which holds the value from its parameters.

On tool hackers use to get sensitive information from victims is/are:
A. Loggerware
B. Keyloggers
C. Robots
D. Phishing

Answers

Pretty sure it’s keyloggers because it’s the only one that makes sense to me but I’m not 100% sure on that one
Absolutely c is the correct!

What do you expect the future trends of an operating system in terms of, cost, size, multitasking, portability, simplicity

Answers

Answer:

Size

Explanation:

thats it thats the answer

Other Questions
Which of the following represents the interaction of the biosphere with the cryosphere. Plant roots make cracks in the rocks. Ocean water solidifies to form glaciers. Water turns into ice when the temperature drops Some marine animals live on the edge of sea ice In the middle school debate club, 30% of the members are in sixth grade. If there are 12 graders in the club, how many total members are there?A) 30B) 36C) 38D) 40 Fill in the blank with the word that best completes the following sentence: Vous ne comprenez ______ l'espagnol.a) deb) personnec) riend) pas ill give you a brainliest if it is right Please answer will give brainliest! Which of the following statements is true about the three quadrilaterals? (4 points) aD and E are similar but not congruent. bE and F are similar and congruent. cD and E are similar and congruent. dF and D are similar but not congruent. 2 Why is adding 6, 10, and 5 to a number the same asadding 21 to that number? Which three structers are found in drawing II of figure 7-11 but not ij drawing I? what are the names if these structers i will give 50 and branlist and like and 5 stars What was the name of Moses Austins plan to bring settlers to Texas? Identify the terms and like terms in the expression.2n - n - 4 + 7n Select the correct answer.Jasmine is a software developer. Her upcoming project requires building system software for a manufacturing plant. The software should bepowerful and fast and provide high performance. Which programming language should she use while programming the manufacturing plant'ssystem software?OA PHPOB. PythonC C++OD. Java Please simplify/evaluate 7x - 2x + 30 Read very very carefully and it says what to choice). In this lesson you learned about time lines and how Thematic Time Lines show events pertaining to a particular historical theme. You will create a time line of important events related to a single theme from prehistory to A.D. 1600. ( You will have three lessons in which to complete): 1: Themes)--> For this assignment you will create a thematic time line of five events. To begin with, however, you will first decide on two possible themes for the time line. You will choose one of these themes. Choose two themes from the list below that you would consider for your Thematic Time Line: Politics, The Miltary, and Economics. Religion, Philosophy, and Learning. Science, Technology, and Innovations. Literature, Visual Arts, Theater, and Music. To give you some practice in associating events with themes, choose the event that would be included on a time line for each of the following themes: ---> I posted a picture of the practice sheet. ( 2: Events ---> Choose five events for each of the two themes you chose in Step 1 ( for a total of ten events). Your final time line will cover only five events for one theme. The events must have occurred within the period under study ( Prehistory to A.D. 1600). You may wonder how you can represent such a long time span, from prehistory to A.D. 1600, with only five events. It won't be easy. You must choose events that you believe are major milestones of this period; events that had a major impact on history. Later in the assignment, you will defend your choices and explain why you included each event on your time line. ( To give you some practice choosing events, choose the one event in each group below that you believe is the most important; the one event that had the biggest effect on history. Below, you will defend your choice by explaining why you think it was the most important. (Group A--> Second century B.C: Romans build aqueducts to supply water to cities. A.D. Second century: Pulp papermaking process is invented in China. Seventh century: Muslim architects build mosques with domes. ( Group B--> c. Second century B.C: Zhang Qian helps establish the Silk Road. c. A.D. 1080: Venice and Byzantium sign a treaty governing commerce. 1158: Munich, Germany, becomes center of salt trade in Europe). Now it's time to choose five events for each of the two themes you chose. First you'll need to review the major events from prehistory to A.D. 1600. A convenient way to do this would be to look at the time lines for Chapters 1 through 17 that appear at the beginning of each chapter. As you review this time period, write down events that are good candidates for thematic time lines related to the themes you chose. Remember that you are only interested in events that are related to these two themes. Try to compile a list of about 10 events for each theme. Don't write long entries; just jot down key ideas. Now choose the five most important events for each theme. Write these events in the corresponding section of the Graded assignment sheet. Include a time for each event ( such as 509 B.C., A.D. second century, 1066, and so on). (Part 3. Select a Theme: Select one of the two themes you chose earlier. You will create a thematic time line based on this theme. Write this theme in the corresponding section. ( Part 4: --> Rationale/Defense of Entries: You now have a theme and five events for a Thematic time line covering prehistory to A.D. 1600. You need to defend your choices for the events by explaining why you included each one. For each event, be as specific as possible as you answer the following questions: 1) Why is this event important?, 2) What impact did this event have on society?, 3) How is the world different because of this event?, 4) Why is this event more significant than most other events within the theme? For each event you selected in groups A and B above, write a short paragraph that defends your choice and provides a rationale for why you think it is the most important of the three. Group A: and Group B: Write a short paragraph for each event that explains why you included the event on your time line. ( Part 5:--> Create a thematic time line for the theme you chose that includes, at a minimum, the five events you selected for that theme. Follow these guidelines as you develop the time line. 1) Your time line can include up to ten events.( The time line must included at a minimum five events. 2) Each entry on the time line should include a date( year or century), a description of the event, and an image. The image can be something you illustrate or find on the internet. 3) Include a title for the time line that incorporates the time line's theme. [ Will Mark Brainliest ]. Need Help ASAP Please. ( If you write anything down that has nothing to do with this assignment you will be reported asap) Please no plagiarism. ( Don't Answer If You Don't Know). Follow all the steps. pls help im giving brainliest if you can help me Why was Washington unanimously elected the 1st president of the United States? The US periodically alters/adjusts the number of representatives in the House, called "reapportionment". What do they base this periodic "adjustment" on? A box of mass m is pushed at an angle 0 by a force Fp along a frictionless surface. The box travels to right with acceleration a. What is the mass of the box? What is the image point of (-3 5) after a translation left 2 units and up 4 units? Clara and Toby are telemarketers. Yesterday, Clara reached 4 people in 10 phone calls, while Toby reached 3 people in 8 phone calls. If they continue at those rates, who will reach more people in 40 phone calls? Use the drop-down menu to show your answer.