Middle-square method: Difference between revisions

Content deleted Content added
Example implementation: Test the implementation against Python 3.12, changed the version number of Python into the latest version.
Tags: Mobile edit Mobile web edit
Line 22:
 
=== Example implementation ===
Here, the algorithm is rendered in [[Python 3|Python 3.1112]].
<syntaxhighlight lang="python">