This is for Python
numbers = [7, 3, 6, 9, 0]
print(numbers.sort())
Output: [0, 3, 6, 7, 9]
numbers = [7, 3, 6, 9, 0]
print(numbers.sort(reverse = True))
Output: [9, 7, 6, 3, 0]
Answer:
function pecoDesconto(preco, estaComDesconto) {
let p = preco;
let desconto = estaComDesconto;
if(p > 100 && desconto == false){
return "Quero pechinchar";
}else{
return "Negócio fechado";
}
}
Explanation:
function pecoDesconto(preco, estaComDesconto) {
// Implemente a função ao lado, que recebe um preço//
let p = preco;
// variavel que indica desconco//
let desconto = estaComDesconto;
//Se o preço for maior que 100 e não estiver com desconto, a função deve retornar Quero pechinchar.//
if(p > 100 && desconto == false){
return "Quero pechinchar";
//Caso contrário, deve retornar Negócio fechado
}else{
return "Negócio fechado"
}
}
só te faltou ler com atenção, e um pouco de logica!
Answer:
print("Let's play Silly Sentences!")
print(" ")
name=input("Enter a name: ")
adj1=input("Enter an adjective: ")
adj2=input("Enter an adjective: ")
adv=input("Enter an adverb: ")
fd1=input("Enter a food: ")
fd2=input("Enter another food: ")
noun=input("Enter a noun: ")
place=input("Enter a place: ")
verb=input("Enter a verb: ")
print(" ")
print(name + " was planning a dream vacation to " + place + ".")
print(name + " was especially looking forward to trying the local \ncuisine, including " + adj1 + " " + fd1 + " and " + fd2 + ".")
print(" ")
print(name + " will have to practice the language " + adv + " to \nmake it easier to " + verb + " with people.")
print(" ")
print(name + " has a long list of sights to see, including the\n" + noun + " museum and the " + adj2 + " park.")
Explanation:
Got it right. Might be a longer version, but it worked for me.
"flat file"
A simple database program whose records have no relationship to one another<span>single</span>
Answer:
D. Create a cell reference in a formula by typing in the cell name or clicking the cell.
Further Explanation:
To create a cell reference in a formula the following procedure is used:
First, click on the cell where you want to add formula.
After that, in the formula bar assign the equal (=) sign.
Now, you have two options to reference one or more cells. Select a cell or range of cells that you want to reference. You can color code the cell references and borders to make it easier to work with it. Here, you can expand the cell selection or corner of the border.
Again, now define the name by typing in the cell and press F3 key to select the paste name box.
Finally, create a reference in any formula by pressing Ctrl+Shift+Enter.