Answer:
A. The parent-teacher orginization keeps a log of cookies sales to raise money for the elementary school.
Explanation:
Answer:
See Explaination
Explanation:
def listmax(lst):
largest = None
for num in lst:
if largest is None or num > largest:
largest = num
return largest
mylist = [10, 20, 30]
x = listmax(mylist)
print(x)
What are power strips please
Answer:
There is no short answer.
Explanation:
First let's create the string:
- alphabetString = "abcdefghijklmnopqrstuvwxyz";
The first half of the string using slice method can be written as:
- alphabetString.slice(0, 13);
The first half of the string using only the ending index can be written as:
- alphabetString.slice(-13);
When we put - at the start of the index number, the counting begins at the last element with -1 and goes backwards.
The second half of the string can be written as:
- alphabetString.slice(13,26);
The second half of the string using only the starting index can be written as:
- alphabetString.slice(13);
To get the every second letter in the string, we need a for loop:
- for( let x = 0; x < alphabetString.length(); x = x + 2){
alphabetString.slice(x);
}
To get the entire string in reverse, we can use the reverse method that is built-in:
- alphabetString.reverse();
To get the every third letter of the string, we can again use a for loop:
- for( let x = -1; x = -27; x = x - 3){
alphabetString.slice(x);
}
I hope this answer helps.