Answer:
see explaination
Explanation:
import random
def number_guess(num):
n = random.randint(1, 100)
if num < n:
print(num, "is too low. Random number was " + str(n) + ".")
elif num > n:
print(num, "is too high. Random number was " + str(n) + ".")
else:
print(num, "is correct!")
if __name__ == '__main__':
# Use the seed 900 to get the same pseudo random numbers every time
random.seed(900)
# Convert the string tokens into integers
user_input = input()
tokens = user_input.split()
for token in tokens:
num = int(token)
number_guess(num)
Answer: Layout
Explanation: Layout is the basic interface design between the flow in a system that is in compact form so that user can access it easily. It also manages the flow of the interface pattern in whichever direction( top, left, bottom, right ) accordingly in minimal way. It also lets the user take the control over the panel interface that are in the display or may be hidden form.
Answer:
customer service and support
Explanation:
-Loyalty programs for current customers refer to incentives companies provide to existing customers to encourage them to keep buying their products or services.
-Customer service and support refers to the assistance companies provide to their existing customers to help them solve issues or provide information about their current products or services and other options.
-Profitability for the company refers to actions that will increase the financial gains of the company.
-Acquisition of new customers refers to actions implemented to attract clients.
According to this, the answer is that this is a typical example of CRM that focuses on customer service and support because you call the company to get assistance with options to change your current products.
The other options are not right because the situation is not about incentives for the customer or actions the company implements to increase its revenue. Also, you are not a new customer.
Answer:
Explanation:
The following is written in Python. The function takes in a string as a parameter. It then sperates the string at every space. Then it rejoins the list of strings with hyphens. Finally, returning the newly created string with hyphens.
def chain_words(str):
string_split = str.split(" ")
seperator = '-'
hyphen_string = seperator.join(string_split)
return hyphen_string
Answer:
Here is my answer in Javascript
num = 0; // Use to calcate the even numbers
loop = 10; // Use for the highest even number that will be calcated for
index = loop/2; // Calcate the size of the array based upon how many loops their
let arr = [index]; //Create array to store the even numbers
let i = 0; // Use to keep track of which on what number in the while loop we are on
let total = 0; //Used to add up all of the even numbers
let mean = 0; //Used to calcate the mean of all even numbers
do {
i = i + 1; //Keep track of what loop we are on
num = num + 2; //Used to calcate the even number
arr.push(num); //Push the num into a array
total = total + arr[i]; //Calcate the total of the array
mean = total / i; //Calcate the mean
}
while (num != loop);
//Output the result
console.log(mean);