What does this function do?
def guess_function(guess_List):
if len(guess_List) == 1:
return guess_List[0]
else:
return guess_List [0] + guess_function(guess_List[1:])

Answers

Answer 1

Answer:

below

Explanation:

It checks guess_List and if it only has 1 item, returns the first item as the function. Otherwise, it returns the first item added to the items from the second item onwards in guess_List.


Related Questions

dentify the benefits of workplace diversity. Select all that apply.

The Americans with Disabilities Act (ADA) is a federal law that states employers must do which of the following for workers with disabilities?
right: provide reasonable job accommodations
wrong: hire disabled workers
wrong: make job accommodations no matter the cost

Im asking a question cuz i couldnt find the answer in brainly. for anyone who needs it

Answers

Answer:

A is the answer

Explanation:

Because I just did it.

Have a good day.

What is cloud computing?

It is a way to store information on an independent server for access from any device.
It is a way for people to consolidate their social media presence to one website.
It is a way for users of social media to monitor the information they are making public.
It is a way to predict complicated weather patterns using the Internet and a series of satellites.

Answers

Cloud computing is a way to store information on an independent server for access from any device. Option A is the answer.

What is cloud computing?

Cloud computing helps to stores information in a secure serve.

It makes use of internet to store information and it can be for a long time.

Therefore, Cloud computing is a way to store information on an independent server for access from any device.

Learn more on cloud computing below

https://brainly.com/question/19057393

#SPJ1

Write code that declares variables to represent a user’s hourly rate of pay and the
number of hours worked.
Assign appropriate values to the variables, then calculate and display the user’s gross
pay for a week, the withholding tax (15% of gross pay), and the net pay (gross pay –
withholding). An example output would be:
Gross Pay: 1500
Withholding Tax: 225
Net Pay: 1275

c# language

Answers

The code for the given command is:

hrs = input("Enter Hours:")

h = float(hrs)

ret = input("Enter rate per hour:")

rate = float(ret)

p = computepay(h, rate)

print("Pay", p)

The above code asks the user for input of hourly pay rate and the number of hours worked and prints the output after making the necessary computations.

Read more about programming here:

https://brainly.com/question/23275071

#SPJ1

I need help with my work

Answers

Answer:

totally

awesome

Explanation:

You can evaluate the expressions in the statements by hand:

if (a*b!=c) evaluates to

if (2*3 != 11)

if (6 != 11)

if (true)

so the next line is executed (it prints 'totally')

Likewise, the other if statement also evaluates to true.

def rectangle_area(base,height):
area =base * height
return area


print("The area is ", rectanle_area(5,6))

ive been typing theabove in my answer but it still say "NOT QUITE"

Answers

Using the computer language in python to write a function code that calculates the area of ​​a rectangle.

Writting the code in python:

def rectangle_area(base, height):

z = base*height  # the area is base*height

print("The area is " + str(z))

rectangle_area(5,6)

See more about python at brainly.com/question/18502436

#SPJ1

when you use the predict step in the IPDE process you

Answers

If a person use the predict step in the IPDE process, you  are known to judge where possible points of conflict any take place.

Why using the IPDE process?

This is known to be Identify, Predict, Decide, and Execute.

The IPDE is regarded as a strategy that a person can make use of in off-road driving and as such, If a person use the predict step in the IPDE process, you  are known to judge where possible points of conflict any take place.

Learn more about IPDE from

https://brainly.com/question/2497669

#SPJ1

what is the benefit of Agile?

Answers

Answer:

The benefits of algae is I also don't know .I as also going to ask thanks for point

Careers and information technology deal with

Answers

Answer:

computers and telecommunications

Explanation:

Write a while loop that prints user_num divided by 2 until user_num is less than 1

Answers

Explanation:

The required function in python is written as follows :

user_num = int(input())

#takes an input value and convert to an integer value.

while user_num >= 1 :

#While loops is conditioned to run if user_num is ≥ 1

user_ num = user_num / 2

#divide user_num by 2 and store the result as user_num

print(user_num)

#print user_num

The while loop condition does most of the work here, The while loops is conditioned to run the divison of user_num if the value of user_num is greater than or equal to 1 ; if user_num is lesser than 1, the loop terminates.

Lear more : brainly.com/question/15170131

laminiaduo7 and 9 more users found this answer helpful

THANKS

1

1.5

(8 votes)

Unlocked badge showing two hands making the shape of heart over a pink circle

Found this answer helpful? Say thanks and unlock a badge.

Advertisement

Answer

author link

teobguan2019

Ambitious

613 answers

1.2M people helped

Answer:

user_num = float(input("Enter a number: "))

while(user_num > 1):

user_num = user_num / 2

print(user_num)

Explanation:

Line 1:

Use built-in function input() to prompt user input a number and assign it to the variable user_num.

Since the default data type of the user input is a string, we need to convert it into float data type before assigning it to user_num. We can do the data type conversion by enclosing the user input into the built-in function float().

Line 3:

Create a while loop by setting condition while user_num bigger than 1, the line 4 & 5 should keep running.

Line 4:

Divide user_num by 2 and assign the division result back to the user_num.

Line 5:

Display updated value of user_num using built-in function print()

by default which service accounts will windows powershell cmdlets manage

Answers

By default, the service accounts which Windows PowerShell cmdlets will manage are group MSAs.

What is a cmdlet?

A cmdlet is abbreviation for command let and it can be defined as a lightweight and native PowerShell command that is designed and developed to be used by an administrator (end user) within the PowerShell environment of a Windows computer system.

In Computer technology, the PowerShell runtime is saddled with the responsibility of invoking these Windows PowerShell cmdlets based on the automation scripts that are provided by an administrator (end user) at the command line.

In this context, we can infer and logically deduce that by default, the service accounts which Windows PowerShell cmdlets will manage are group MSAs.

Read more on PowerShell cmdlets here: https://brainly.com/question/10674913

#SPJ1

What is an index? What are the advantages and disadvantages of using indexes? How do you use SQL to create an index?

Answers

Answer:

In DBMS, an index is a physical structure that stores the values for a specific column in a table. An index can be used to extract specific information from data and access records within a table more quickly without having to scan the whole table.

An Index can be made up of one or more columns of a table and each index maintains a list of values within that field that are sorted in ascending or descending order. Indexes cannot be seen by the users, but they are just used to speed up the queries and improve the performance of a database application

can the charger of my laptop get infected with viruses also when it was connected to it?​

Answers

Answer:

Technically… yes. Because if the charging port is the same as a USB/etc connector port, then it can travel over that.

Explanation:

The ACME Online Store offers different preferred customer discounts for customers who are "None", "Bronze", "Silver" and "Gold".

The variable customer_category is a string that is one of these 4 values.

0 for "None"
5 for "Bronze"
10 for "Silver"
20 for "Gold"
Your colleague wrote the following program (Program C). Does the program that he/she wrote have the correct logic to assign the correct discount for each of the 4 valid values of customer_category?

Program C:

if customer_category == "None":

discount = 0

if customer_category == "Bronze":

discount = 5

if customer_category == "Silver":

discount = 10

if customer_category == "Gold":

discount = 20

Answers

Yes, the written program has the correct logic to assign the correct discount for each of the 4 valid values of customer_category

What is a Program?

This refers to the sequence of instructions that are keyed into a computer to execute user-specific commands.

Hence, we can see that based on the variable customer_category that has a string that is one of these 4 values:

0 for "None"

5 for "Bronze"

10 for "Silver"

20 for "Gold"

The program uses the correct syntax as it gives the correct discount based on the assigned values of the variable customer_category as executed with the syntax above.

Read more about programs here:

https://brainly.com/question/1538272

#SPJ1

What does it mean when someone says your voice doesn’t match how u look

Answers

Explanation:

it means that your voice it doesn't match with your personality like 2 characteristics by voice and by personality

You are given a list of N integers . find the largest sum of a continuous sequence from the given list

Answers

Explanation:

di5ditdi5suufsutydskydjgsukstralurilttdljstp7hzpgxuptdoyd

Type the correct answer in the box. Spell all words correctly.
Which professional American organization for designers has set up many standards and guidelines that its members have to follow?

Answers

The professional American organization for designers has set up many standards and guidelines that its members have to follow is known as ANSI.

What mean ANSI?

The American National Standards Institute (ANSI) is known to be a kind of private, non-profit organization that gives or coordinates the U.S. voluntary standards and the conformity in terms of assessment system.

Hence, The professional American organization for designers has set up many standards and guidelines that its members have to follow is known as ANSI.

Learn more about American organization from

https://brainly.com/question/19334871

#SPJ1

Answer: Institute of Graphic Arts

Explanation:

The American Institute of Graphic Arts (AIGA) is a professional membership organization for designers. 

AIGA has set up many standards and guidelines that its members have to follow. 

These standards may be ethical, professional, or even legal.

(Plato)

Why should we learn Ethereum? Explain.

Answers

Answer:

Ethereum BenefitsIt has a large and committed global community and the largest ecosystem in blockchain and cryptocurrency. Wide range of functions. Besides being used as a digital currency, Ethereum can also process other financial transactions, execute smart contracts and store data for third-party applications.

Explanation:

Hope this helps and mark as a brianliest

Think back to your early days of education—what role did technology play? Now ask a parent/guardian/older family member what role technology played in their education. Discuss the difference between your experience and this older family member’s experience with technology in education. Which do you think created a better learning experience?

Answers

The first use of technology in education is one that is seen in the invention of the use of  abacus for calculations such as addition, subtraction, multiplication, and division.

Note that schools were said to slowly create a curriculum where the subjects which are seen as most vital were taught.

By the mid-1600s, the invention of the modern library and the pencil were brought up, starting the first et of educational technology.

How has technology played a role in education?

It is one that has helped a lot of students to be able to look out or search for new subjects and broaden their understanding of a lot of hard concepts, such as STEM.

Note that The first use of technology in education is one that is seen in the invention of the use of  abacus for calculations such as addition, subtraction, multiplication, and division.

Learn more about technology from

https://brainly.com/question/25110079

#SPJ1

Which of the following should you do when accepting constructive criticism? (choose all that apply)
right: show a positive facial expression
right: maintain eye contact
wrong: interrupt and question the person frequently
right: do not interrupt or speak until you are sure the other person is finished making a point
wrong: cross your arms in front of your chest

I couldnt find the answer on brainly so i putted as a question for who needs it on brainly.

Answers

Maintain eye contact, maintain a cheerful facial expression, and wait to talk until the other person has completed delivering their argument.

Which of the following terms best encapsulates the moral standards that guide an individual's or a group's actions?

Introduction: The moral principles that direct a person's behaviour are known as ethics. Everyday decisions on how to respond to events, both personal and professional, are influenced by our sense of ethics.

What exactly does work ethics entail?

Work ethic is a principle based on diligence and hard labour. It also involves a conviction that work has moral value and can develop good character. The Protestant commitment to hard work is one instance. A work ethic could include of  being reliable, having initiative, or pursuing new skills.

To know more about delivering visit:-

https://brainly.com/question/30645383

#SPJ1

What is the term used to describe a singular container in an Excel spreadsheet?
O worksheet
Otab
Ocell
Orange

Answers

Cell is the term used to describe a singular container in an Excel.

What is a single box in a spreadsheet?

An active cell as seen in an Excel worksheet, is one which is made up of small rectangle or box called cell.

Note that the active cell is one that has the selected cell and it is where the data is entered if a person begin typing.

Hence, Cell is the term used to describe a singular container in an Excel.

Learn more about spreadsheet from

https://brainly.com/question/4965119

#SPJ1

Answer:

it is d

Explanation:

allows users to enter text and control the computer with their voice.

Answers

Speech input software allows users to enter text and control the computer with their voice.

What is an input device that allows you to put text into a computer?

An example of these input device is the keyboard and it is one that allows a person to be able to enter letters, numbers and any kind of symbols into a computer.

Note that Speech input software allows users to enter text and control the computer with their voice.

Learn more about The keyboard from

https://brainly.com/question/26632484

#SPJ1



A mathematics question paper has certain number of questions and each question is
assigned some random maximum marks. Mr. Myers wants to edit the marks assigned
to the questions such that:
1. All questions in the paper should have distinct maximum marks.
2. The total marks of all the questions should be as low as possible.
Mr. Myers wants to achieve this by making minimal changes in the original format,
assigning the question at least as much marks as it originally had. Find the minimum
total marks that he can set the paper for.
Input Specification:

Answers

Using the knowledge in computional language in Java it is possible to write a code that can edit the marks assigned for Mr. Myers:

Writting the code in Java:

#include <stdio.h>

int main()

{

   int n, i, sum=0;

   int a[i];

   printf("Enter the number of Questions in the paper : ");

   scanf("%d", &n);

   printf("Original marks assigned to every question :");

   for(i=0; i<n; i++)

   {

       scanf("%d", &a[i]);

   }

   for(i=0; i<n; i++)

   {

       sum += a[i];

   }

   printf("The minimum total marks Mr. myers can set the paper for. : %d", sum);

   return 0;

}

The minimum total marks that Mr. Myers can set the paper for is 15.

See more about computing at: brainly.com/question/15707178

#SPJ1

What is referential integrity

Answers

The association between tables is referred to as referential integrity. A primary key is required for each table in a database and can appear in other tables as a result of its connection to the data in those other tables. Foreign keys are used when a primary key from one table appears in another table.

Assume that x ransomware is currently pandemic. Explain your way to protect your systems (PCs or servers) from x ransomware without service interruption

Answers

Let's check the precautions

Use MFA

MFA stands for multi factor authenticationThis is the complicated edition of general two step authentications we do on regular basis

Use strong passwords

Never use 1234.. or any easy passwords like your name,no etc

Always patch early

Try to patch on rare basis

Use VPN

Turn off your RDP if you don't need right then

Convert 105 decimal to 128 binary form

Answers

Answer:

1101001 is binary 105

128 in binary is 10000000

Question 1 of 25
How can you best protect your network from web-based malware?
A. By setting up web filtering software to keep users from accessing
questionable sites
B. By using strong passwords to keep malware from attacking your
network resources
C. By installing software updates that include patches created to fix
security flaws
D. By running regular backups on all network resources

Answers

Answer:

Keep your computer and software updated. ...

Use a non-administrator account whenever possible. ...

Think twice before clicking links or downloading anything. ...

Be careful about opening email attachments or images. ...

Don't trust pop-up windows that ask you to download software. ...

Limit your file-sharing.

When using sftp to share files, what is encrypted in addition to the authentification information?.

Answers

In addition to the authentification information, the data files are encrypted when using SFTP to share files.

What is SFTP?

SFTP is an abbreviation for SSH File Transfer Protocol and it can be defined as a type of secured file transfer protocol that's designed and developed to run over the SSH protocol by supporting full security and authentication, file management, as well as sharing files between two or more users on an active computer network.

This ultimately implies that, SSH File Transfer Protocol can be used for file management, file transfer and provide end users with full security and authenticated file access.

In conclusion, we can infer and logically deduce that in addition to the authentification information, the data files are encrypted when using SSH File Transfer Protocol (SFTP) to share files.

Read more on file transfer here: brainly.com/question/20602197

#SPJ1

what is the importance of Microsoft word in our everyday lives?​

Answers

Answer:

Allows us to create business documents.Helps to design and create cards, brochures, new letters etc. for business.Benefits teachers and students in developing innovative teaching and learning methods.Microsoft word is an important application for the purpose of education.It also helps in making notes instead of using notebooks.Ms Word also helps in making notes having graphs, charts, diagrams, tables etc.

Write the SQL commands to obtain the following information from the system catalog:

List every table that you created.
List every field in the Client table and its associated data type.
List every table that contains a field named TaskID.

Answers

The SQL commands to obtain the information from the system catalog is illustrated below.

How to illustrate the the SQL commands?

It should be noted that SQL commands are instructions to communicate with a database to perform a task.

List every table that you created. - SHOW TABLES

List every field in the Client table and its associated data type. - SHOW COLUMNS FROM CUSTOMER

List every table that contains a field named TaskID. - SELECT TBNAME FROM SYSCOLUMNS WHERE COLNAME = 'TaskID'

Learn more about SQL on:

brainly.com/question/25694408

#SPJ1

Question 3 (5 points) ✔ Saved Janice is scrolling through her feed one day and notices that Abby said some awful things about Patricia. Janice thinks that what Abby is doing to Patricia is wrong, but she decides to log out of her account and ignore the cyberbullying. In this situation, Janice is a/an cyberbully. O advocate. O Internet troll. O bystander.​

Answers

Since Janice did ignore the cyberbullying, one can say that she is a  bystander.​

Who is a bystander?

The term connote a person that is said to be a nonparticipant spectator and in this case the person will do nothing even if someone is been killed in their presence.

Hence, Since Janice did ignore the cyberbullying, one can say that she is a  bystander.​

Learn more about bystander from

https://brainly.com/question/8516593

#SPJ1

In this situation, Janice is considered as a: D. bystander.

Who is a bystander?

A bystander can be defined as an individual that physically witnesses bullying or cyberbullying in digital forms such as social media, websites, and software applications.

In this context, we can infer and logically deduce that Janice is considered as a bystander because she witnessed how Abby said some awful things about Patricia.

Read more on bystander here: https://brainly.com/question/8516593

#SPJ1

Other Questions
describe how an organization should determine the efficiency and effectiveness of its website. whats the answer to this question? In the early to mid-1800s, which of the following did NOT contribute to the lack of support for humane institutions?A.Dorothea Dix and her reform movementB.The American ethos of rugged individualismC.An influx of immigrants, many of whom became institutionalized D. The Pierce veto in 1854 which of the following does not describe the prison camp experience of american men during the civil war? Which of the following is the proper syntax on Windows systems for spawning a command shell on port 56 using Netcat?A. nc -r 56 -c cmd.exeB. nc -p 56 -o cmd.exeC. nc -L 56 -t -e cmd.exeD. nc -port 56 -s -o cmd.exe all institutions in the following scenarios would be required to adhere to the guide for the care and use of laboratory animals except: 2 FeO(s)2 Fe(s)+O2(g) Keq=110^6 at 1000KCO2(g)C(s)+O2(g) Keq=110^32 at 1000KThe formation of Fe(s) and O2(g) from FeO(s) is not thermodynamically favorable at room temperature. In an effort to make the process favorable, C(s) is added to the FeO(s) at elevated temperatures. Based on the information above, which of the following gives the value of Keq and the sign of G for the reaction represented by the equation below at 1000K?2 FeO(s)+C(s)2 Fe(s)+CO2(g)a. Keq: 110^38 G: Positiveb. Keq: 110^38 G: Negativec. Keq: 110^26 G: Positived. Keq: 110^26 G: Negative determine the molarity of the borate ion at t1 (ice-water) and at t2 (room temperature). Eq. 2) 4. Calculate AH [There is only one value.] (Eg. 4) 5. Calculate A S at T1 (ice-water) and at T2 (room temperature). (Eq. 3) Record all of your results (#2 to #5) in the table: Ksp = [Na+12 [borate] (Eg. 1) determine the Std. Gibb's Free Energy change for the reaction: G = -RT In(Ksp) (Eq. 2) Go = - So (Eq. 3) m Constant (Ksp) is determined at two different temperatures, T1 and T2, we ormulation for the dependence of the equilibrium constant K on tempera Std. Enthalpy change for this reaction as well: In (Ksp2 / Ksp1) = - (A H /R) x (1/T2 - 1/T1) (Eq. 4) We will take advantage of the basic nature of the borate ion and titrate it with a standard hydrochloric acid solution: B.O(OH)42 lag) + 2 HCl(ag) + 3 H20 -4 H3BO3(aq) + 2 Clag) Titration Reaction Notice two moles of hydrochloric acid are required for every mole of borate ion. By taking an aliquot of the saturated Borax solution and titrating it with standardized HCI, we can Oletermine the concentration of the borate ion, [borate), needed to calculate Kse. The concentration of the sodium ion is then detery via the reaction stoichiometry: [Na'] = 2 [borate] (Eq. 5) was timmys debt to joe liquidated or unliquidated debt after timmy bought the car and subsequently decided it was worth less than what he had borrowed to pay for it? Assume you are a Chinese exporter and expect to receive $250,000 at the end of 60 days. You can remove the risk of loss due to a devaluation of the dollar by:a. Selling dollars in the forward market for 60-day delivery.b. Buying dollars now and selling it at the end of 60 days.c. Selling the yuan equivalent in the forward market for 60-day delivery.d. Keeping the dollars in the United States after they are delivered to you. Let R denote a rectangular metal plate given by the region [2, 10] x [2, 6) in the xy-plane, with cand y given in centimeters. Suppose that the density of the plate is given by p(x, y)= x + y grams/cm2. Use Ax = 4y=2 and an appropriate Riemann sum to estimate the mass of this plate. Find both an upper and lower estimate of the mass by using appropriate corners of each subrectangle and then average your values to give a better estimate of the exact mass of the plate. Show work and include units with your answer. Let R denote a rectangular metal plate given by the region [2, 10] x [2, 6) in the xy-plane, with cand y given in centimeters. Suppose that the density of the plate is given by p(x, y)= x + y grams/cm2. Use Ax = 4y=2 and an appropriate Riemann sum to estimate the mass of this plate. Find both an upper and lower estimate of the mass by using appropriate corners of each subrectangle and then average your values to give a better estimate of the exact mass of the plate. Show work and include units with your answer. a 29.2 gram sample of xenon gas has a volume of 826 milliliters at a pressure of 3.76 atm. the temperature of the xe gas sample is c. which of the following is most clearly an example of a theme?A. People pay a high price for being overly ambitious.B. The similarities between autobiography and creative nonfiction.C. There is a serious meaning behind the common symbol of the grim reaper. D. The division of plot into exposition, rising action, and climax level of happiness tends to fluctuate around a happiness set point? if f(x)=sin(ex2) and f (0) = 1, then f (2) = Goodman, Pinkman, and White formed a partnership on January 1, 2020, and made capital contributions of $125,000 (Goodman), $175,000 (Pinkman), and $250,000 (White), respectively. With respect to the division of income, they agreed to the following: (1) interest of an amount equal to 10% of the that partner's beginning capital balance for the year; (2) annual compensation of $15,000 to Pinkman; and (3) the remainder of the income or loss to be split among the partners in the following percentages: (a) 20% for Goodman: (b) 40% for Pinkman; and (c) 40% foy White. Net income was $200,000 in 2020 and $240,000 in 2021. Each partner withdrew $1.500 for personal use every month during 2020 and 2021. What was the amount of interest attributed to Pinkman in the income distribution for 2021? Multiple Choice $20,750. $17.450 $24.150 $17.500 $25.950 Function call with parameter Printing formatted measurement Define a function print_feet_inch_short(), with parameters num feet and num inches, that prints using and shorthand. End with a newline. Remember that print() outputs a newline by default. Ex print_feet_inch_short(5, 8) prints 5' 8" Hint: Use \ to print a double quote. how does the cost of locomotion (i.e., energy use per distance traveled) tend to change with body mass? At December 31, 2016, Vanderpool's price-earnings ratio was 14.6. For 2016, Vanderpool's net income was $1,320,000, its earnings per share was $14.00, and its annual dividend per share was $8.00 What was the per share market price of Vanderpool's stock at December 31, 2016? A. $132.80 B. $116.80 C.$165.60 D. $204.40 QUESTION 18 Beltower. Inc. has net income for 2016 of $370.000. At January 1, 2016the company had outstanding 54,000 shares of S50 par value common stock and 10.000 shares of 6%, $100 par value cumulative preferred stock. On September 1, 2016, an additional 18,000 shares of common stock were issued. What is the earnings per share for 2016 (to the nearest cent)? A.$4.44 B.$6.17 C.$5.17 D.$4.31 police, courts, and corrections have their own goals and needs but are interdependent and part of a complex whole. which of the following is true?