- Decimal
- Octal
- Hexadecimal (capitalized)
- Binary
- Complete the print_formatted function in the editor below.
- print_formatted has the following parameters:
- int number: the maximum value to print
>>> width = 20
>>> print 'HackerRank'.ljust(width,'-')
HackerRank----------
>>> print 'ab123'.isalnum()
True
>>> print 'ab123#'.isalnum()
False
>>> string = "abracadabra"
Hello firstname lastname! You just delved into python.
Function Description:>>> a = "this is a string"
>>> a = a.split(" ") # a is converted to a list of strings.
>>> print a
['this', 'is', 'a', 'string']
Joining a string is simple:>>> a = "-".join(a)
>>> print a
this-is-a-string
Www.HackerRank.com → wWW.hACKERrANK.COM
Pythonist 2 → pYTHONIST 2
In this post, we will look at how we can deploy our Django app using the Microsoft Azure app service - a free plan. You need an Azure accoun...