Question
    Write a function that checks if the string has given substring at the end?
    
        
    
    
    
    
 
    Login to Submit
    
    
    
Examples
Input: "aeroplane" "plane" Output: true Reason: Because aeroplane has plane at the end Input: "maths" "s" Output: true Input: "computer" "er" Output: true Input: "mouse" "cat" Output: false