Question
**python ** Write a program that matches the sentence number from Form A with the number of the same sentence from Form B. for example.
**python ** Write a program that matches the sentence number from Form A with the number of the same sentence from Form B. for example.
**input** form A "1aaaaaa 2bbbbbb 3cccccc 4ddddd " form B " 1cccccc 2ddddd 3bbbbbb 4aaaaaa "
note that the input well be paste like " 1cccccc 2ddddd 3bbbbbb 4aaaaaa " Once for each form
**output** result should be like Form A =Form B 1=4 2=3 3=1 4=2
another example for how it should look like enter Form A " 1How was the meal? Delicious Okay Terrible 2How was the texture of the meat? Too hard hard Perfect Too soft 3Which of the following are you most satisfied with? Taste Texture Size "
enter form B "1Which of the following are you most satisfied with? Taste Texture Size 2How was the texture of the meat? Too hard hard Perfect Too soft 3How was the meal? Delicious Okay Terrible " the output should be form A=Form B 1=3 2=2 3=1
another example for how it should look like enter form A 1Ella 2James 3Avery 4Harper 5Mason
enter form B 1Mason 2Avery 3Ella 4James 5Harper
formA=formB 1=3 2=4 3=2 4=5 5=1
the purpose of that to copy the 2 forms from the browser and paste them into the program to find the matching questions each form might have more than 60 question
thank you
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started