Question: I need the code in preferably in python. or even C++ would be fine l. Need it asap! 5 Challenge Trailing String Programming challenge description:

5 Challenge Trailing String Programming challenge description: You are given two strings A and B. Print the number 1 if string B occurs at the end of string A. Otherwise, print the number 0. Input: Your program should read lines of text from standard input. Each line will contain two strings, A and B, separated by a comma. Output: For each input line, print the number 1 if the second string occurs at the end of the first string, or O if it does not, one digit per line. Test 1 Test Input Hello World, World Expected Output Test 2 Test Input Hello HireVue, HireVue Expected Output 1 Test 3 Test Input 6 San Francisco, San Jose Expected Output 0 - Copyright 2017
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
