Navbar menu
(Move to ...)
Home
Python
HTML
JavaScript
Quiz
AS400 / IBM iSeries
Contact Us
▼
HackerRank Python Solution - Classes - Dealing with Complex Numbers
›
For this challenge, you are given two complex numbers, and you have to print the result of their addition, subtraction, multiplication, divi...
Python - File Handling
›
In real-world application development, the logic that we implement uses some data and those data may come from different sources like databa...
Python - Exception Handling
›
Errors are unavoidable. As a developer, we always have to encounter multiple errors in the initial phase of development. And at the end of t...
HackerRank Python Solution - Errors and Exception - Incorrect Regex
›
You are given a string S. Your task is to find out whether S is a valid regex or not. Input Format: The first line contains integer T, the n...
HackerRank Python Solution - Errors and Exception
›
Errors detected during execution are called exceptions. Examples: ZeroDivisionError: This error is raised when the second argument of a divi...
HackerRank Python Solution - Date and Time - Time Delta
›
When users post an update on social media, such as a URL, image, status update, etc., other users in their network are able to view this new...
HackerRank Python Solution - Date and Time - Calendar Module
›
The calendar module allows you to output calendars and provides additional useful functions for them. class calendar.TextCalendar([firstweek...
HackerRank Python Solution - Collections Topic - Counter()
›
A counter is a container that stores elements as dictionary keys and their counts are stored as dictionary values. Sample Code: >>>...
HackerRank Python Solution - Collections Topic - deque()
›
A deque is a double-ended queue. It can be used to add or remove elements from both ends. Deques support thread-safe, memory-efficient appen...
HackerRank Python Solution - Collections Topic - OrderedDict
›
An OrderedDict is a dictionary that remembers the order of the keys that were inserted first. If a new entry overwrites an existing entry, t...
HackerRank Python Solution - Collections Topic - namedtuple()
›
Basically, namedtuples are easy to create, lightweight object types. They turn tuples into convenient containers for simple tasks. With name...
‹
›
Home
View web version