User:Manetta/Duo-generator.py: Difference between revisions

From XPUB & Lens-Based wiki
(Created page with "from random import shuffle from time import sleep XPUB1 = [ "🕯𖤐Alessia𖤐🕯", "Anita!", "Rosa", "Michel", "🍊Berna Bereit🍊", "§§~~Lor.ensō", "Thijs", "Riviera", "Mania", "Maria Ex.", "🖛 🌣 senka 🌧 сенка 🖳", "◝ :。・:*:・゚’,z u z u’☆◜..°♡♡", "WANG", "➾➾➾𒐪Victor𒐪" ] shuffle(XPUB1) for n, student in enumerate(XPUB1): sleep(3) if n % 2 == 0:...")
 
No edit summary
 
Line 1: Line 1:
<syntaxhighlight lang="python">
from random import shuffle
from random import shuffle
from time import sleep
from time import sleep
Line 37: Line 38:


     print("  ", student)
     print("  ", student)
</syntaxhighlight>

Latest revision as of 16:37, 8 January 2024

from random import shuffle
from time import sleep

XPUB1 = [
    "🕯𖤐Alessia𖤐🕯",
    "Anita!",
    "Rosa",
    "Michel",
    "🍊Berna Bereit🍊",
    "§§~~Lor.ensō",
    "Thijs",
    "Riviera",
    "Mania",
    "Maria Ex.",
    "🖛 🌣 senka 🌧 сенка 🖳",
    "◝ :。・:*:・゚’,z u z u’☆◜..°♡♡",
    "WANG",
    "➾➾➾𒐪Victor𒐪"
]

shuffle(XPUB1)

for n, student in enumerate(XPUB1):

    sleep(3)

    if n % 2 == 0:
        print("""
                         |              o
 _  _    _      _|_    __|          __
/ |/ |  |/  /\/  |    /  |  |   |  /  \_
  |  |_/|__/ /\_/|_/  \_/|_/ \_/|_/\__/ o

        """)

    sleep(3)

    print("  ", student)