String Validators in Python - Hacker Rank Solution | Apna Hindi Tech
String Validators |
Hello Friends
рдЖрдЬ рд╣рдо рдЖрдкрдХो Hacker Rank рдкрд░ String Validators рдХा рдХंрдк्рд▓ीрдЯ рд╕ॉрд▓्рдпूрд╢рди рдмрддाрдПंрдЧे рд╡рд╣ рднी рдЖрд╕ाрди рднाрд╖ा рдоें। рддो рджोрд╕्рддों рдЪрд▓िрдП рдЬाрдирддे рд╣ैं рд╕ॉрд▓्рдпूрд╢рди ।
Problem:- String Validators
You are given a string S.
Your task is to find out if the string S contains: alphanumeric characters, alphabetical characters, digits, lowercase and uppercase characters.
Input Format :-
A single line containing a string S.
Constraints :-
0<len(s)<1000
Output Format :-
In the first line, print True if S has any alphanumeric characters. Otherwise, print False.
In the second line, print True if S has any alphabetical characters. Otherwise, print False.
In the third line, print True if S has any digits. Otherwise, print False.
In the fourth line, print True if S has any lowercase characters. Otherwise, print False.
In the fifth line, print True if S has any uppercase characters. Otherwise, print False.
Sample Output :-
Solution :-
Video Tutorial :-
Related Posts
......Thank YouЁЯШК......
Post a Comment
Post a Comment