Skip to content

Commit

Permalink
Merge pull request #1 from rg00d/testing-fork
Browse files Browse the repository at this point in the history
Moje gratuleszyny.
  • Loading branch information
ex3cv authored Jun 15, 2017
2 parents 179302a + 67a7220 commit cf2e726
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ Original credits go to http://www.generatorland.com/usergenerator.aspx?id=9095
This is just pure implementation in python.
Available only in Polish. Sorry folks.

Enjoy.
Enjoy!
3 changes: 1 addition & 2 deletions mykmyk.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,8 +337,7 @@ def główny():
def graj(frazy):
''' Losujemy od niechcenia. '''

wielkość = len(frazy)
elemencik = loteriada(0, wielkość)
elemencik = loteriada(0, len(frazy)-1)

return frazy[elemencik]

Expand Down

0 comments on commit cf2e726

Please sign in to comment.