mirror of
https://github.com/TheAlgorithms/Python.git
synced 2026-03-13 09:50:19 +08:00
Modernize Python 2 code to get ready for Python 3
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
"""example of simple chaos machine"""
|
||||
from __future__ import print_function
|
||||
|
||||
# Chaos Machine (K, t, m)
|
||||
K = [0.33, 0.44, 0.55, 0.44, 0.33]; t = 3; m = 5
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
from __future__ import print_function
|
||||
import math
|
||||
|
||||
def rearrange(bitString32):
|
||||
|
||||
Reference in New Issue
Block a user