Navbar menu
(Move to ...)
Home
Python
HTML
JavaScript
Quiz
AS400 / IBM iSeries
Contact Us
▼
HackerRank Python Solution - Itertools Topic - itertools.combinations_with_replacement()
›
itertools.combinations_with_replacement(iterable, r): This tool returns r length subsequences of elements from the input iterable allowing i...
HackerRank Python Solution - Itertools Topic - itertools.combinations()
›
itertools.combinations(iterable, r): This tool returns the length subsequences of elements from the input iterable. Combinations are emitte...
HackerRank Python Solution - Itertools Topic - itertools.permutations()
›
itertools.permutations(iterable[, r]): This tool returns successive length permutations of elements in an iterable. If r is not specified o...
HackerRank Python Solution - Itertools Topic - itertools.product()
›
itertools.product(): This tool computes the cartesian product of input iterables. It is equivalent to nested for-loops. For example, product...
HackerRank Python Solution - Math Topic - Triangle Quest
›
You are given a positive integer N. Print a numerical triangle of height N-1 like the one below: 1 22 333 4444 55555 ...... Can you do it...
HackerRank Python Solution - Math Topic - Integer Come In All Sizes
›
Integers in Python can be as big as the bytes in your machine's memory. There is no limit in size as there is: 2 31 -1 (c++ int) or 2 63...
HackerRank Python Solution - Math Topic - Power - Mod Power
›
So far, we have only heard of Python's powers. Now, we will witness them! Powers or exponents in Python can be calculated using the buil...
HackerRank Python Solution - Math Topic - Mod Divmod
›
One of the built-in functions of Python is divmod, which takes two arguments a and b, and returns a tuple containing the quotient of a/b fir...
HackerRank Python Solution - Math Topic - Triangle Quest 2
›
You are given a positive integer N. Your task is to print a palindromic triangle of size N. For example, a palindromic triangle of size 5 is...
HackerRank Python Solution - Math Topic - Find Angle MBC
›
ABC is a right triangle, 90˙ at B. Therefore ∡ABC = 90˙ Point M is the midpoint of hypotenuse AC. You are given the lengths AB and BC. Your ...
HackerRank Python Solution - Math Topic - Polar Coordinates
›
Polar coordinates are an alternative way of representing Cartesian coordinates or Complex Numbers. A complex number z = x + yj, is complete...
‹
›
Home
View web version