Middle-square method: Difference between revisions

Content deleted Content added
Tags: Reverted Visual edit
Undid revision 1291731333 by Laucette (talk)
Line 26:
<syntaxhighlight lang="python" line="1">
number = int(input("Please enter a four-digit number:\n[####] "))
already_seen = set()
counter = 0