Detailed Differences
This commit is contained in:
6
detaileddifferences.py
Normal file
6
detaileddifferences.py
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
n = int(input())
|
||||||
|
for _ in range(n):
|
||||||
|
a = input().strip()
|
||||||
|
b = input().strip()
|
||||||
|
d = ["*" if x != y else "." for x, y in zip(a, b)]
|
||||||
|
print(f'{a}\n{b}\n{"".join(d)}\n')
|
||||||
Reference in New Issue
Block a user