Answer:
could you please tell me which grde are you in?
Answer: The Print Area function in Excel allows you to print part of a spreadsheet rather than the full sheet
Explanation:
Answer:
They predicted another cold day in Seattle and another windy day in Seattle.
Answer:
Following are the program in the Python Programming language.
#define function
def negative_num(num_list):
#set list type variable
nlist=[]
#set the for loop
for n in num_list:
#check negative numbers
if(n<0):
#add the value of n in list
nlist.append(n)
#return list
return nlist
#set new list type variable that store list
newl=[-5,8,-6,3,-4,9,-7]
#print and call the function
print(negative_num(newl))
<u>Output</u>:
[-5, -6, -4, -7]
Explanation:
Here, we define the function "negative_num" and pass an argument "num_list" in its parameter and inside the function.
- Set new list data type variable "nlist".
- Set the for loop which iterate as the list.
- Set the if conditional statement to check the value of the list is less than 0 then, add that negative values in the variable "nlist".
- Then, return the new list.
Finally, we set a variable "newl" which store the list of negative and positive numbers then, we print and call the function.
The thing that happens if you type a number instead of a word in the given code is: The number is printed
This is because the code already assigned a variable to the input and it accepts both numbers and alphanumeric keys because it is an integer command.
<h3>What is Coding?</h3>
This refers to the use of programming that is used to give instructions to a computer system
Hence, we can see that The thing that happens if you type a number instead of a word in the given code is: The number is printed
This is because the code already assigned a variable to the input and it accepts both numbers and alphanumeric keys because it is an integer command.
Read more about coding here:
brainly.com/question/16397886
#SPJ1