You are on page 1of 5

PR-8 http://localhost:8888/nbconvert/html/PR-8.ipynb?

download=false

3 of 5 11-05-2023, 10:15
PR-8 http://localhost:8888/nbconvert/html/PR-8.ipynb?download=false

for smaller_list in list_activity:


if(smaller_list[2] == "Boring"):
count += 1
# Calculate the probability of starting from state:'Drilling' and ending at state:'Boring'
percentage = (count/10000) * 100
print("The probability of starting at state:'Drilling' and ending at state:'Boring'= "

5 of 5 11-05-2023, 10:15

You might also like