Middle-square method: Difference between revisions

Content deleted Content added
Undid revision 1153972936 by 195.221.62.122 (talk) rvv
m Chính
Tags: Visual edit Mobile edit Mobile web edit
Line 22:
 
=== Example implementation ===
Here, the algorithm is rendered in [[Python 3|Python 11]].
<syntaxhighlight lang="python">
seed_number = int(input("Please enter a four-digit number:\n[####] "))