PastaSource / Musinator

Generates random lyrics from a given TXT file, and a chord progression in a randomly chosen key.
0 stars 0 forks source link

Check for redundant code in chordgenerator function #12

Closed PastaSource closed 2 years ago

PastaSource commented 2 years ago

When 4 was chosen as the chord frequency, progressionint when printed did not seem to go above 4. This means the if attempt <= 10 line could be redundant, as the code functions as intended.