diff --git a/Python/03. Strings/010. String Formatting.py b/Python/03. Strings/010. String Formatting.py index bb1ad3b..2d0b1e1 100644 --- a/Python/03. Strings/010. String Formatting.py +++ b/Python/03. Strings/010. String Formatting.py @@ -6,3 +6,8 @@ def print_formatted(number): width = len("{0:b}".format(number)) for i in range(1, number + 1): print("{0:{width}d} {0:{width}o} {0:{width}X} {0:{width}b}".format(i, width=width)) + + +if __name__ == '__main__': + n = int(input()) + print_formatted(n) diff --git a/Python/04. Sets/009. Set symmetric_difference() Operation.py b/Python/04. Sets/009. Set symmetric_difference() Operation.py index a4f3134..7a2302e 100644 --- a/Python/04. Sets/009. Set symmetric_difference() Operation.py +++ b/Python/04. Sets/009. Set symmetric_difference() Operation.py @@ -2,6 +2,6 @@ # Score: 10 -_, a = input(), set(input().split()) -_, b = input(), set(input().split()) -print(len(a.symmetric_difference(b))) +_, english = input(), set(input().split()) +_, french = input(), set(input().split()) +print(len(english.symmetric_difference(french)))