enter your ageforty two please enter number for your age enter your age select new password (letters and numbers only)secr tpasswords can only have letters and numbers select new password (letters and numbers only)secr you can view the execution of this program at /validateinputcalling isdecimal(and isalnum(on variableswe're able to test whether the values stored in those variables are decimal or notalphanumeric or not herethese tests help us reject the input forty two but accept and reject secr tbut accept secr the startswith(and endswith(methods the startswith(and endswith(methods return true if the string value they are called on begins or ends (respectivelywith the string passed to the methodotherwisethey return false enter the following into the interactive shell'helloworld!startswith('hello'true 'helloworld!endswith('world!'true 'abc startswith('abcdef'false 'abc endswith(' 'false 'helloworld!startswith('helloworld!'true 'helloworld!endswith('helloworld!'true these methods are useful alternatives to the =equals operator if you need to check only whether the first or last part of the stringrather than the whole thingis equal to another string the join(and split(methods the join(method is useful when you have list of strings that need to be joined together into single string value the join(method is called on stringgets passed list of stringsand returns string the returned string