Post History
Python, 104 bytes f=lambda n:"1.0000000.7272730.7285710.7368420.7437890.7491640.7533440.7566570.7593360.761542"[8*n-8:8*n] Try it online! Not too clever. I am curious whether it can be beaten ...
Answer
#1: Initial revision
# [Python], 104 bytes ```python f=lambda n:"1.0000000.7272730.7285710.7368420.7437890.7491640.7533440.7566570.7593360.761542"[8*n-8:8*n] ``` [Try it online!][TIO-lvtxab6r] [Python]: https://docs.python.org/3/ [TIO-lvtxab6r]: https://tio.run/##JcXLDsIgEIXhvU9BuqKmNg4DwyXxSYwLjKIkShvSjU@Pg/4nOd/62Z5LwdbS6RXf11sUJQwwH//NVvGw64wFFslpxWq0znc9kGYNov5JZGzXIxJLYLQazm5fDi7wX1paqsgiF1FjedwlTABj2AlurblsMk9J5nFsXw "Python 3 – Try It Online" Not too clever. I am curious whether it can be beaten with a Python code that really calculates the probability and prints the result rounded to 6 decimal places.