# Hacker Rank Python

## HackerRank Solution: Python String Validators [4 Methods]

Question: String Validators [Python Strings] Python has built-in string validation methods for basic data. It can check if a string is composed of alphabetical characters, ...

### HackerRank Solution: Python Find a string [3 Methods]

Question: Find a String [Python Strings] In this challenge, the user enters a string and a substring. You have to print the number of times ...

### HackerRank Solution: Summing the N series [2 Methods]

Question: Summing the N series [Python Fundamentals] There is a sequence whose term nth is: Evaluate the series: Find Sn mod (10^9 + 7) Example ...

### HackerRank Solution: Does Path Exist [2 Methods]

Question: Python Possible Path [Mathematics] Adam is standing at point (a, b) in an infinite 2D grid. He wants to know if he can reach ...

### HackerRank Solution: Python sWAP cASE [3 Methods]

Question: Python sWAP cASE [Strings] You are given a string and your task is to swap cases. In other words, convert all lowercase letters to ...

### HackerRank Solution: String Split and Join [3 Methods]

Question: Python String Split and Join In Python, a string can be split on a delimiter. Example: >>> a = "this is a string" >>> ...

### HackerRank Solution: Python What's your name? [3 Methods]

Question: What's your name? [Python Strings] You are given the firstname and lastname of a person on two different lines. Your task is to read ...

### HackerRank Solution: Python Lists [Basic Data Types]

Question: Python Lists [Basic Data Types] Consider a list (list = []). You can perform the following commands: insert i e: Insert integer e at ...

### HackerRank Solution: Python Mutations [4 Methods]

Question: Python Mutations [Strings] We have seen that lists are mutable (they can be changed), and tuples are immutable (they cannot be changed). Let's try ...

### HackerRank Solution: Python Print Function [4 Methods]

Question: Python Print Function [Introduction] The included code stub will read an integer, n, from STDIN. Without using any string methods, try to print the ...

### HackerRank Solution: Finding the Percentage [3 Methods]

Question: Python Find the Percentage [Basic Data Types] The provided code stub will read in a dictionary containing key/value pairs of name:[marks] for a list ...

### HackerRank Solution: Python Nested Lists [4 Methods]

Question: Python Nested Lists [Basic Data Types] Given the names and grades for each student in a class of Nstudents, store them in a nested ...

### HackerRank Solution: Find the Runner-up Score! [4 Methods]

Question: Find the Runner-up Score [Python Basic Data Types] Given the participants' score sheet for your University Sports Day, you are required to find the ...