...blocks+1)
# Convert probability to percentage
success_percentage = success * 100.0
# show results
puts " #{blocks} = #{"%.8f" % success_percentage}%"
# NOTE#{blocks}f c#{"%.8f from scientific notation to decimal
# Adjust the number (e.g. 8) to control how many...