## Complex Number Problem Solved: Coding Ninjas

Complex Number problems are basically asked in many coding questions. This question is taken from one of the basic challenges in Coding Ninjas. Before starting the actual question, let us know more about the complex numbers for a better understanding of the concepts. Complex numbers are the numbers that are expressed in the form of a+ib where, a,b… Read More

## Python HandsOn HackerRank Solved

) Using intMath Operations Area & Volume Sunil had an assignment on “Areas & Volumes” given by his Mathematics Teacher. He was given 1.’Side”, from which he have to find – Area of Square & – Volume of Cube 2. Radius’ ,from which he have to find – Area of Circle & – Volume of… Read More

## Tuples in Python

A tuple is an immutable list means non-changeable list. Tuples are ordered in nature. Values can be accessed by index. Various operations can be performed like Iteration, looping , concatenation. Used when data is fixed and not require any changes. Syntax Accessing values of tuples You cannot modify the tuples as they are immutable Assigning… Read More

## Dictionaries in Python

Dictionaries hold key-value pairs which are known as items. SYNTAX : dictionary_name = { key_1 : value_1, key_N : value_N} Empty dictionary dictionary_name = {} To access items from the dictionary dictionary_name[ key ] Example : To Replace a value in Dictionary Add new item in dictionary Remove items from dictionary: use del keyword Accessing… Read More