1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
olya-2409 [2.1K]
3 years ago
9

In Python, a function is _____.

Computers and Technology
1 answer:
ad-work [718]3 years ago
8 0

Answer:

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

Explanation:

A function is a group of commands that can be called upon with extra parameters if needed.

Example:

def foo():                          #defining this function and naming it foo

    return True                 #what is performed when foo is called on

if foo() == True:               #foo() is calling on a function named foo

   print('yes')

You might be interested in
In the classic experimental design, there are two groups: the _____ group and the _____ group.
Tju [1.3M]

Main Answer:In the classic experimental design, there are two groups: the <u>treatment group and the control group.</u>

<u>Sub heading:</u>

<u>Explain treatment group and control group?</u>

Explanation:

1.The treatment group also known as the experimental group receives the treatment that the researcher is evaluating.

2.the control group  on the other hand does not receive the treatment.

Reference link:

https://brainly.com

Hashtag:

#SPJ4

5 0
2 years ago
"How has graphic design changed through time?"
noname [10]

The main purpose behind graphic designing is to communicate, The different colors, shapes and patterns used in graphics aim to deliver a meaningful message, which sometimes is hidden. Back in the time, graphic designs usually portrayed what was going on at that time, for instance wars, with larger icons and catchy slogans. Over the time, the graphic designs have evolved where psychedelic, geometrical and monochromatic designs have gained more popularity, with different typographic styles to follow. Moreover, since the world has been taken over by technology in a storm, we get to see some drastic changes in the photography styles, use of color balances with minimal designs and subtle tones.

8 0
3 years ago
A ___ is a mobile device that typically ranges from seven to ten inches in size.
Ber [7]

A tablet computer, or commonly known as tablet,  is a mobile device that typically ranges from seven to ten inches in size. It has mobile operating system and LCD touchscreen display processing circuitry. The touchscreen display is operated by  finger. The tablet has many all of the functionalities of a computer, but not all of them.


3 0
4 years ago
Modify an array's elements using other elements write a for loop that sets each array element in bonusscores to the sum of itsel
natali 33 [55]
<span>Assuming that the language is C++ and that the following variables exist: bonusscores is an array of some numeric type (float, double, int, etc). nent is an integer indicating how many elements are in bonusscores. Also assuming that the array is 0 based, so legal subscripts range from 0 to nent-1. // Code starts here for(int x = 0; x < (nent-1); ++x) { bonusscores[x] = bonusscores[x] + bonusscores[x+1]; } // Code ends here Thing to note, since the last element isn't modified, the range for the for loop is reduced by 1 so that every element to actually be modified is visited, but the last element isn't. And since each element after modification isn't needed for future modifications, it's safe to change them in situ.</span>
7 0
3 years ago
I need help with this line of code:
Usimov [2.4K]

Answer:

remove everything after superhero

Explanation:

newhero==superhero and test it

7 0
3 years ago
Other questions:
  • Which of the following values is an example of a floating point number?
    12·1 answer
  • Which of the following types of cloud platforms would a webmail service offered to the general public be considered?
    9·1 answer
  • What is A cell that can hold or display data​
    11·1 answer
  • Making sure that your business has something special and distinct to offer is known as?
    12·1 answer
  • Go in my discord server Code is . (CebjBXN)​
    10·2 answers
  • What does the CYMK tab let you do?
    5·2 answers
  • When writing code, how can printing be useful?
    15·1 answer
  • PLTW activity 2.1.5 PLEASE HELP I NEED STEP 5<br> FAKE ANSWER WILL NOT BE GIVEN POINTS
    14·1 answer
  • Hello guys please help me <br>list and identify the components of computer ​
    15·1 answer
  • Page 1. I who invented computer?​
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!