File tree 5 files changed +4
-4
lines changed
project_euler/problem_089
5 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 698
698
* [ Sol1] ( https://github.com/TheAlgorithms/Python/blob/master/project_euler/problem_080/sol1.py )
699
699
* Problem 081
700
700
* [ Sol1] ( https://github.com/TheAlgorithms/Python/blob/master/project_euler/problem_081/sol1.py )
701
+ * Problem 089
702
+ * [ Sol1] ( https://github.com/TheAlgorithms/Python/blob/master/project_euler/problem_089/sol1.py )
701
703
* Problem 091
702
704
* [ Sol1] ( https://github.com/TheAlgorithms/Python/blob/master/project_euler/problem_091/sol1.py )
703
705
* Problem 097
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 1
1
"""
2
- Project Euler Problem 89
3
- https://projecteuler.net/problem=89
2
+ Project Euler Problem 89: https://projecteuler.net/problem=89
4
3
5
4
For a number written in Roman numerals to be considered valid there are basic rules
6
5
which must be followed. Even though the rules allow some numbers to be expressed in
@@ -120,7 +119,6 @@ def solution(roman_numerals_filename: str = "/p089_roman.txt") -> int:
120
119
"""
121
120
Calculates and returns the answer to project euler problem 89.
122
121
123
- Answer:
124
122
>>> solution("/numeralcleanup_test.txt")
125
123
16
126
124
"""
@@ -140,4 +138,4 @@ def solution(roman_numerals_filename: str = "/p089_roman.txt") -> int:
140
138
141
139
if __name__ == "__main__" :
142
140
143
- print (solution ())
141
+ print (f" { solution () = } " )
You can’t perform that action at this time.
0 commit comments