literal_trash

Authorscrub69
Submission date2019-02-04 21:51:54.181709
Rating2139
Matches played247
Win rate19.03

Use rpsrunner.py to play unranked matches on your computer.

Source code:

twilight = "About three things I was absolutely positive. First, Edward was a vampire. Second, there was part of him %u2014 and I didn%u2019t know how potent that part might be %u2014 that thirsted for my blood. And third, I was unconditionally and irrevocably in love with him."
letter = 0

if (input == ""):
    letter = 0
else:
    letter += 1
output = ""

while (twilight[letter].upper() != "R" and twilight[letter].upper() != "P" and twilight[letter].upper() != "S"):
    letter = letter +1
    if (letter == len(twilight)-1):
        letter = 0

output = twilight[letter].upper()