Answer:
Explanation:
I need points to ask questions
what is information technology ?
Answer:
Information technology is the study, design, development, implementation, support or management of computer-based information systems—particularly software applications and computer hardware. IT workers help ensure that computers work well for people.
Explanation:
Spam is _____.
an example of an ethical use of email
a set of rules that you should follow when sending e-mail
the practice of sending unwanted messages to a large group of people
a type of attachment
multiple answers
edhesive 7.6 lesson practice python
def mystery(a, b = 8, c = -6):
return 2 * b + a + 3 * c
#MAIN
x = int(input("First value: "))
y = int(input("Second value: "))
z = int(input("Third value: "))
1) Suppose we add the following line of code to our program:
print(mystery(x))
What is output when the user enters 1, 1, and 1?
2)Suppose we add the following line of code to our program:
print(mystery(x, y, z))
What is output when the user enters 8, 6, and 4?
Answer:
(a) The output is -1
(b) The output is 32
Explanation:
Given: The above code
Solving (a): The output when 1, 1 and 1 is passed to the function
From the question, we have: print(mystery(x))
This means that only the value of x (which in this case is 1) will be passed to the mystery function
(a, b = 8, c = -6) will then be seen as: (a = 1, b = 8, c = -6)
[tex]2 * b + a + 3 * c = 2 * 8 + 1 + 3 * -6[/tex]
[tex]2 * b + a + 3 * c = -1[/tex]
The output is -1
Solving (b): The output when 8, 6 and 4 is passed to the function
From the question, we have: print(mystery(x,y,z))
This means that values passed to the function are: x = 8, y = 6 and z = 4
(a, b = 8, c = -6) will then be seen as: (a = 8, b = 6, c = 4)
[tex]2 * b + a + 3 * c = 2 * 6 + 8 + 3 * 4[/tex]
[tex]2 * b + a + 3 * c = 32[/tex]
The output is 32
If we add the line of code print(mystery(x)) and our input are 1, 1 and 1 the output will be -1.
If we add the line of code print(mystery(x, y, z)) and our inputs are 8, 6 and 4 the out put will be 32.
This is the python code:
def mystery(a, b = 8, c = -6):
return 2 * b + a + 3 * c
#MAIN
x = int(input("First value: "))
y = int(input("Second value: "))
z = int(input("Third value: "))
print(mystery(x))
#What is output when the user enters 1, 1, and 1?
#Suppose we add the following line of code to our program:
print(mystery(x, y, z))
#What is output when the user enters 8, 6, and 4?
The code is written in python
Code explanation:The first line of code defines a function named mystery with the argument a, b by default is equals to 8 and c is equals to -6 by default. Then the code return the product of b and 2 plus a and plus the product of 3 and c. x, y and z variable that stores the users input.Then we call the function mystery with a single argumentThen we call the function mystery with three argument x, y and z which are the users input.The first print statement with the input as 1, 1 and 1 will return -1
The second print statement with the input 8, 6 and 4 will return 32.
learn more on python code here: https://brainly.com/question/20312196?referrer=searchResults
Drag each label to the correct location on the image.
Identify the cell references in the formula.
absolute
reference
relative
reference
mixed
reference
Answer:
1.) Relative cell reference - A1
2.) Absolute cell reference - $D$2
3.) Mixed cel reference - $D2
Explanation:
In Microsoft Excel, cell references are very important and critical when dealing with formula. They can give you what you’re looking for or make your entire worksheet incorrect.
A cell reference is a cell address or a range of cell addresses that can be used in a formula.
There are three types of cell references and they are;
a) Relative reference
b) Absolute reference
c) Mixed reference
A relative cell reference is a cell reference that changes when you copy the formula to other cells. It s usually just a normal cell reference like A1, B2, C3. If a formula with a relative cell reference is copied down to other cells, the formula will change. That is a formula with a relative cell reference changes with respect to the cell which it is copied to.
An absolute reference does not change when you copy the formula to other cells. In absolute references, the dollar sign $ is used to “lock” both the row and column so that it does not change when it is copied to other cells. An example is $D$2.
Using a mixed cell reference, one is trying to see that only either the row or column changes with respect to other cells when they are copied. It is like “locking” either the column or the row while changing the other. Just like from the example, $D2 is a mixed cell reference where only the column is locked such that only the row changes when the formula is copied to other cells.
Exercise 1: Multiples of Five Develop a program that contains the following functions: - Function that returns true if a given number is a multiple of 5; false otherwise. Main function that reads two integer values from the user and print all multiples of 5 between them inclusive. Your function should start from the lowest to the highest value entered by the user. Samples of input/output are given below. Sample input/output 1 Enter first: 4 Enter second: 40 Multiples of 5 between 4 and 40 are: 5 10 15 20 25 30 35 40 Sample input/output 2 Enter first: 40 Enter second: 4 Multiples of 5 between 4 and 40 are: 5 10 15 20 25 30 35 40
Answer:
Explanation:
please see attached picture