NaPoWriMo x NaPoGenMo 2024 - Day 9:  NumericPoems

NaPoWriMo x NaPoGenMo 2024 - Day 9: NumericPoems

When Numbers Speak

Numbers&Symbols

For the 9th day of NaPoWriMo/NaPoGenMo 2024, A Number & Symbol based poem will be written. What meaning do you derive from the phrases created?

Coded In Python & aided with Glitchlab

Poetic Relics

Poetic Relics 2

Poems

1<4+> 4?1<<1: 5=>>8"1>? <<2: 2>{
1<4?}?2? 5?<> 2<2<2"7? 1>
2>> 3)" 26 1+>2??604<1(?3<
" 40 1?2< 21 3<
4<1>? 15 4<1<4<1< 3+?2>< >2(}3?>2(}3?
1<> 05" 2?5?{ 1+?50 <2"1->
5< 1> 5>2<<5"1?4"1? 4<1:
3? 2"}<<3<9+<5+{3=>"4+}
?1? 2-"3: 3>2< 1> 3+>
2<1+?2-? 5<3< 4>1"6:4>1"6: {2< 1-?1-?
2<>< 5"4> 6:1" 4}{ 4(<>
7+<2?<2? 2<>< ?1:3>1< 1<
5< ?2><4+<2:?8?1+<>
<2(? 2:4<3> 1>7> 2>2=>3> 7<6=>
6?:2<1< 3"1> :2>:2> 2"3"1< >1<>1<

Code

import random

with open("Randomnumber.txt", "r") as adj:  #open and read the text file
    IWT = adj.read()  #give the file a variable name 
    IWTUsed = list(map(str,IWT.split())) #individuals words

def spell_2():
    print(random.choice(IWTUsed).upper() + " " +  random.choice(IWTUsed) + " " +  random.choice(IWTUsed) +  " " +  random.choice(IWTUsed) +  " " + random.choice(IWTUsed).upper())
    print(random.choice(IWTUsed).upper() + " " +  random.choice(IWTUsed) + " " +  random.choice(IWTUsed) + random.choice(IWTUsed) +  " " + random.choice(IWTUsed).upper())
    print(random.choice(IWTUsed).upper() + " " +  random.choice(IWTUsed) + " " +  str(random.randint(1, 47)) + " " + random.choice(IWTUsed) + random.choice(IWTUsed).upper())
    print(random.choice(IWTUsed).upper() + " " +  str(random.randint(1, 47)) + " " +  random.choice(IWTUsed) +  " " +  str(random.randint(1, 47)) +  " " + random.choice(IWTUsed).upper())
    print(random.choice(IWTUsed).upper() + " " +  str(random.randint(1, 47)) + " " +  random.choice(IWTUsed)*2 +  " " +  random.choice(IWTUsed) +  " " + random.choice(IWTUsed).upper()*2)