Answer:
l = []
while True:
no = int(input())
if no>0:
l.append(no)
else:
break
print(1)
If this helped consider marking this answer as brainliest. Have a good day.
Math.random() is a built-in function in JavaScript that generates a random number between 0 and 1.
<h3>What is Math.random()?</h3>
Math.random() is a useful and versatile function that can add a element of randomness to your JavaScript programs.
This function can be used in a variety of ways in JavaScript programs, such as:
- Generating random numbers for games or simulations.
- Creating random samples for statistical analysis.
- Shuffling elements in an array for a random order.
- Selecting random items from a list for a quiz or survey.
- Creating unique IDs or keys for objects in a database.
To Know More About built-in function, Check Out
brainly.com/question/29796505
#SPJ4
Usually you can just report the question as useless or just report in in general. But I myself have read some answers and they dont even pertain to the question, it confuses me alot