diff --git a/README.md b/README.md index 38bf01a..5091bbe 100644 --- a/README.md +++ b/README.md @@ -2907,7 +2907,7 @@ def write_to_wav_file(filename, float_samples, nchannels=1, sampwidth=2, framera #### Saves a 440 Hz sine wave to a mono WAV file: ```python from math import pi, sin -samples_f = (sin(i * 2 * pi * 440 / 44100) for i in range(100000)) +samples_f = (sin(i * 2 * pi * 440 / 44100) for i in range(100_000)) write_to_wav_file('test.wav', samples_f) ``` diff --git a/index.html b/index.html index 0145148..8700b8f 100644 --- a/index.html +++ b/index.html @@ -54,7 +54,7 @@
from math import pi, sin
-samples_f = (sin(i * 2 * pi * 440 / 44100) for i in range(100000))
+samples_f = (sin(i * 2 * pi * 440 / 44100) for i in range(100_000))
write_to_wav_file('test.wav', samples_f)