Author: Aniruddha Chaudhari

Python

How to Randomly Select Item from List in Python? [Choice method]

How to Randomly Select Item from List in Python Using random.choice() method and Python numpy module? Explained with examples.

Python

How Python Read CSV File into Array List | Explained With Example

[Complete Python Code] How Python read CSV file into array list? What is the use of a CSV file? reader() function explained with example.

cpp

[3 Ways] C/C++ Program to Swap Two Numbers Without Using Temporary Variable

How to write a C program to swap two numbers without using temporary variable? Use addition, subtraction, Multiplication, Division and XOR operation instead of extra space.

Python

Python Program to Swap Two Variables without using Third Variable

Write a Python program to swap two variables without using third variable in one line. It is most efficient solution as it does not use any temporary variable.

linux

How to Change VNC password in Linux Using vncpasswd Command?

Here is a simple command to Change VNC password in Linux using vncpasswd Command. Where to find VNC password file in Linux?

linux

[Step-by-Step] How to get serial number in Linux (Ubuntu) by Command?

[Step by step] How to get serial number in Linux (Ubuntu) by commands? Check serial number using dmidecode in Linux.

Python

How to Compile Code to Convert py to pyc in Python?

How to convert py to pyc in Python? What is pyc file in Python? How to create pyc file using different modules? Py vs pyc file in Python.

bit manipulation

[Two Easy Methods] How to Find 2’s Complement?

How to find 2’s complement of any number? 2’s complement of the number will be helpful in many bit operations.

Python

How to Find Unique Elements from List in Python?

How to Find Unique Elements from List in Python using set operation? Explained with complete program and by giving a simple example.