
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who

About
Malhar Lathkar has been teaching different programming technologies for last three decades. After completing M.Sc. Electronics, he started his career as Lecturer in Electronics. Fascinated by Computer languages and programming, he started his own software training and development centre in 1986. Thousands of undergraduate and PG students as well as professionals have been trained by him. His students are working with many of the leading IT companies across the world. He has always encouraged students to be entrepreneurs and many of them are having their own successful IT ventures. He is associated with TIEC (Technology Innovation Entrepreneurship Center) set up by SGGSIE&T Nanded. He has designed many software solutions with applications in Banking, Healthcare, automation etc. His teaching is deeply influenced by his experience in software development. Java, Python, PHP and database technologies are his areas of interest and expertise. Besides he is an avid sports enthusiast, a freelance columnist for a local Marathi daily and relishes Hindustani classical music.
Malhar Lathkar has Published 19 Articles

Malhar Lathkar
960 Views
Both List and Tuple are called as sequence data types of Python. Objects of both types are comma separated collection of items not necessarily of same type.SimilaritiesConcatenation, repetition, indexing and slicing can be done on objects of both types>>> #list operations >>> L1=[1, 2, 3] >>> L2=[4, 5, 6] >>> ... Read More

Malhar Lathkar
25K+ Views
Python sequence, including list object allows indexing. Any element in list can be accessed using zero based index. If index is a negative number, count of index starts from end. As we want second to last element in list, use -2 as index.>>> L1=[1,2,3,4,5] >>> print (L1[-2]) 4

Malhar Lathkar
2K+ Views
The slice operator in Python takes two operands. First operand is the beginning of slice. The index is counted from left by default. A negative operand starts counting from end. Second operand is the index of last character in slice. If omitted, slice goes upto end.We want last four characters. ... Read More

Malhar Lathkar
1K+ Views
Concept of variable in Python is different from C/C++. In C/C++, variable is a named location in memory. Even if value of one is assigned to another, it creates a copy in another location.int x=5; int y=x;For example in C++, the & operator returns address of the declared variable.coutRead More

Malhar Lathkar
211 Views
A string contains two integers separated by comma. It is first split in a list of two strings having digits.>>> s="1, 2".split(", ") >>> s ['1', '2']Two items are then converted to integers and used as arguments for complex() function>>> complex(int(s[0]), int(s[1])) (1+2j)This results in unpacking of string of integers ... Read More

Malhar Lathkar
8K+ Views
Easiest way is to employ two nested for loops. Outer loop fetches each tuple and inner loop traverses each item from the tuple. Inner print() function end=’ ‘ to print all items in a tuple in one line. Another print() introduces new line after each tuple.ExampleL=[(1, 2, 3), (4, 5, ... Read More

Malhar Lathkar
2K+ Views
List is an ordered sequence of elements. Individual element in list is accessed using index starting with 0 and goes up to length-1. If index goes beyond this range, IndexError exception is encountered.In following example, an infinite loop is used to pop one element at a time. As loop tries ... Read More

Malhar Lathkar
616 Views
List and Tuple are called as sequence data types of Python. Objects of both types are comma separated collection of items not necessarily of same type. However, main difference between list and tuple is that list object is mutable whereas tuple object is immutable. Immutable object can not be modified ... Read More