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 717
717
* [ Sol1] ( https://github.com/TheAlgorithms/Python/blob/master/project_euler/problem_081/sol1.py )
718
718
* Problem 087
719
719
* [ Sol1] ( https://github.com/TheAlgorithms/Python/blob/master/project_euler/problem_087/sol1.py )
720
+ * Problem 089
721
+ * [ Sol1] ( https://github.com/TheAlgorithms/Python/blob/master/project_euler/problem_089/sol1.py )
720
722
* Problem 091
721
723
* [ Sol1] ( https://github.com/TheAlgorithms/Python/blob/master/project_euler/problem_091/sol1.py )
722
724
* 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