## Find the Runner-Up Score Python HackerRank Solution

Given the participants’ score sheet for your University Sports Day, you are required to find the runner-up score. You are n given  scores. Store them in a list and find the …

## Factorial of a number in Python – Coderbyte Solution

First Factorial Factorial of a number in Python Have the function FirstFactorial(num) take the num parameter being passed and return the factorial of it. For example: if num = 4, then your program should return (4 * …

## Check string is Palindrome or not- Python

Palindrome in python Problem is to check whether a given string is palindrome or not. If the given string is palindrome  Return True and if not return False.  Constraints:   Given string can be …

## List Comprehensions- Python HackerRank Solution

List Comprehensions Let’s learn about list comprehensions! You are given three integers x,y and z representing the dimensions of a cuboid along with an integer. Print a list of all …

## Print Function Python – HackerRank Solution

Print Function Python print(): This function is used standard output The included code stub will read an integer, n, from STDIN. Without using any string methods, try to print the following: …

## Leap Year -HackerRank solution

Leap Year An extra day is added to the calendar almost every four years as February 29, and the day is called a leap day. It corrects the calendar for the …

## Python Division – HackerRank Solution

Python Division TaskThe provided code stub reads two integers, a and,b from STDIN. Add logic to print two lines. The first line should contain the result of integer division, a//b. …

## Python If-Else – HackerRank Solution

Python If-Else TaskGiven an integer, n, perform the following conditional actions: Input Format A single line containing a positive integer,n. Constraints Output Format Print Weird if the number is weird. Otherwise, print Not Weird. …