Author | bob |

Submission date | 2019-12-09 23:52:46.220095 |

Rating | 4257 |

Matches played | 205 |

Win rate | 40.0 |

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

```
if input=="":
loses=0
elif input == "R" and output == "S":
loses += 1
elif input == "P" and output == "R":
loses += 1
elif input == "S" and output == "P":
loses += 1
elif input == output:
loses += 1
if loses <= 2 and loses >= 0:
output="R"
elif loses <=4 and loses > 2:
output="P"
elif loses <=6 and loses > 4:
output="S"
if loses==6:
loses=0
```