Skip to content

Commit

Permalink
Rename uniocto/roman_to_int.py to Hacktoberfest-2021/uniocto/roman_to…
Browse files Browse the repository at this point in the history
…_int.py
  • Loading branch information
Rajspeaks authored Oct 9, 2022
1 parent f31a2d7 commit 88c0d9e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ def romanToInt(s: str) -> int:
rt+=roman_ind[s[i-1]]
else:
rt-=roman_ind[s[i-1]]
return rt+roman_ind[s[-1]]
return rt+roman_ind[s[-1]]

0 comments on commit 88c0d9e

Please sign in to comment.