How to Find the Largest product in a Series in Python
The challenge
Complete the greatestProduct method so that it’ll find the greatest product of five consecutive digits in the given string of …
320 articles about python development, tools, and best practices
Complete the greatestProduct method so that it’ll find the greatest product of five consecutive digits in the given string of …
Write a function that calculates the least common multiple of its arguments; each argument is assumed to be a non-negative integer. In …
Read Article →Write a class that, when given a string, will return an uppercase string with each letter shifted forward in the alphabet by however …
Read Article →Create a function that transforms any positive number to a string representing the number in words. The function should work for all …
Read Article →Create a function that converts the value of the String to and from Base64 using the ASCII character set.
Do not use built-in functions. …
Read Article →There is an array of strings. All strings contain similar letters except one. Try to find it!
find_uniq([ 'Aa', 'aaa', …
Read Article →
Complete the function/method so that it takes a PascalCase string and returns the string in snake_case notation. Lowercase characters …
When working with color values it can sometimes be useful to extract the individual red, green, and blue (RGB) component values for a …
Read Article →Write a hashtag generator function that takes a string and returns a #HashCodeString of it.
The hashtag generator should perform the …
Read Article →Write an algorithm that takes an array and moves all of the zeros to the end, preserving the order of the other elements.
move_zeros([1, …
Read Article →
Write a regular expression that validates the gregorian date in the format “DD.MM.YYYY”
Correct date examples: …
Read Article →Write your own implementation of the built-in split function in Python.
The following rules must be adhered to: