Answer:
strr=input("please enter something: ")
while strr is not "":
print(strr)
strr=input("please enter something: ")
Explanation:
whenever the user will enter an empty string the loop will terminate
Answer:
Not only can police officers store records and reports in online databases, but they can also use computers and hard drives to store thousands of images, reports and videos. Computers make mass storage possible, and enable giant online databases that can accurately ID suspects anywhere in the country.
Answer:
Probability of getting 3 consecutive tails in a fair coin toss:-
P(E)=0.125
Explanation:
If we toss an unbiased coin exactly three time we can have 8 outputs possible and those outputs are as following:-
- HHH
- HHT
- HTH
- HTT
- THH
- THT
- TTH
- TTT
Out of these 8 outputs we have 1 favorable outcome that is TTT.So the probability of the event is P(E)=1/8
where 8 is total number of outcomes.