What's wrong?

Report a typo

There are two words in the input. You decide to create a small program that checks if the words match or not. If they do match, the program prints the doubled length of the word from the input, and if they don't, it prints the string "no matching".

Unfortunately, there are some errors in the program. Find and correct them.

Write a program in Python 3
import re

w1 = input()
w2 = input()
if not re.mach(w1, w2):
print(len(w) * 2)
else:
print('no matching')
___

Create a free account to access the full topic