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ЁЯШК......
Related Posts
- Default Arguments in Python - HackerRank Solution | Easy Method
- Polar Coordinates Hackerrank Solution Python | Polar Coordinates Hackerrank Solution
- Piling Up Hackerrank Solution In Python 3 | Easy Solution
- Find Angle MBC Hackerrank Solution In Python
- Word Order Hackerrank Solution In Python 3
- Compress The String! Hackerrank Solution Python | Compress The String Hackerrank
Post a Comment
Post a Comment