It is because many people want to be perfect just at the start, but there is always room to improvement, but people don't accept that, so they don't want to be better than what they are already, so the don't revise themselves or anything.
Answer:
The sum of all positive even values in arr
Explanation:
We have an array named arr holding int values
Inside the method mystery:
Two variables s1 and s2 are initialized as 0
A for loop is created iterating through the arr array. Inside the loop:
num is set to the ith position of the arr (num will hold the each value in arr)
Then, we have an if statement that checks if num is greater than 0 (if it is positive number) and if num mod 2 is equal to 0 (if it is an even number). If these conditions are satisfied, num will be added to the s1 (cumulative sum). If num is less than 0 (if it is a negative number), num will be added to the s2 (cumulative sum).
When the loop is done, the value of s1 and s2 is printed.
As you can see, s1 holds the sum of positive even values in the arr
Answer:
tuple
Explanation:
at first its a dictionary but then it is reassigned to a tuple
don't forget tuples are immutable
Ask your friends if they are doing something wrong with your friends and friends
Answer: A) Installed
Explanation: Installed application work on the system on which they are installed .They are supposed to persist the required speed of processing to execute the task ,enough memory and other resources as well to fulfill the need of the application functioning.
Other option is incorrect because cloud based application run with help of internet service via web browser so they resources in this applications based on the internet connectivity and browser's speed .Thus, the correct option is option(A).