Answer:
18
Explanation:
If you take the formula, and you substitute the values of the variables, it will be:
10 * 2 - 10 / 5
Then if you remember the order of math operations, it will be:
(10 * 2) - (10 / 5)
Which reduces to:
20 - 2 = 18
Answer:
Explanation:
Social media is making it easier to make a lot of noise about a pressing issue in society, such as human rights violations.
I use social media because I want to keep tabs on people I know.
A change in social media is that people have become increasingly overreliant on it. We tend to spend increasing amounts of time on social media.
Social media should be INFORMATIVE about presidential elections, and it should not be used to spread baseless information. This way, people are more informed about the facts of the candidates and their platforms.
Social media has paved the way for me to make new relationships to important people in my life.
Social media does pose a threat to family and leisure time when said family members tend to be overreliant on the phones and ignore those around them.
The person who is addicted to social media is myself because I spend several hours on it everyday— and that much interaction is too much because it should be one hour a day at most.
I have experienced cyberbullying; the solution to this problem is accountability and finding those who instigate it to bring them to justice.
The answer is B. Your will have gone mostly towards paying interest and you will still owe the majority of the balance that you had from ago
Answer:
The solution code is written in Python 3.
- def processCSV(CSV_string, index):
- data = CSV_string.split(",")
- result = data[index]
- return int(result)
-
- processCSV('111,22,3333,4', 2)
Explanation:
Firstly, create function and name it as <em>processCSV()</em> with two parameters, <em>CSV_string</em> and <em>index</em> (Line 1).
Since the CSV_string is a collection of integers separated by comma, we can make use of Python String built-in method <em>split() </em>to convert the <em>CSV_string </em>into a list of numbers by using "," as separator (Line 2).
Next, we can use the <em>index</em> to extract the target value from the list (Line 3).
Since the value in the list is still a string and therefore we shall use Python built-in method int() to convert the target value from string type to integer and return it as output of the function (Line 4)
We can test our function by using the sample test case (Line 6) and we shall see the expected output: 3333.