nums = []
while True:
num = float(input("Enter a number: "))
if num <= 0:
break
nums.append(num)
print("The largest number entered was",max(nums))
I wrote my code in python 3.8. I hope this helps.
Answer:
Personalization
Explanation:
Recommendation systems are becoming a powerful tool in our times today, from only shopping to healthcare provision. One major aspect of Recommender systems is Personalization.
Personalization is a concept of adjusting a service or product to greatly suit the customer. Personalization can be drawn by the information provided by the individual such as location, gender, marital status, etc. or drawn from other inferences retrieved from the customer, such as:
- the most clicked service category of a customer,
- customer browsing patterns or
- services or products previously obtained by a customer.
These inferences retrieved from customers can greatly improve customer satisfaction and get them drawn to the system.
Answer:
Whether a traffic light is green, yellow or red
Explanation:
Boolean variables are variables that can either take one out of two options at any given instance.
Analyzing the given options
1. Elevator:
Possible Directions = Up or Down; That's two possible values
But it can only move in one direction at a given instance.
<em>This can be represented using Boolean</em>
2. Traffic Light:
Possible Lights = Green, Yellow or Red
That's three options.
<em>This can be represented using Boolean</em>
<em />
The last two options can be represented using Boolean because they have just two possible values
<em>Hence, option (B) answers the question</em>
Answer:
The answer to the given question is "True".
Explanation:
To uncompress the information to their original binary status we use Lossless compression. It is a technique for decompresses data. This technique reduces a file's size. It no reduce the quality of the file. In other words, we can say that It is used for rewrites the data. and it uncompresses the file more efficiently, the initial archive. That's why the answer to this question is "True".