Tutorials on Linux, Programming & Technology

How to Use the Python If Not Statement

How to Use the Python If Not Statement?

The “If Not” statement is used to execute the statements of a program when the condition is “False”. The “If Not” statement is used to check any empty iterable.

How to Generate Random Numbers in Python

How to Generate Random Numbers in Python?

In Python, the random module function “randint()”, “random() method”, “random.sample()” and “for loop with randint()” functions are used to generate random numbers.

For Loop in Python Explained

For Loop in Python | Explained

In Python, the “for loop” function iterates over the sequence of elements of different iterable objects like tuples, strings, and lists.

How to Edit a PDF in Google Docs?

How to Edit a PDF in Google Docs

Google Docs allows users to edit a pdf file by pressing the “Open with” option. It is possible after uploading the pdf file to Google Drive.

How to install emacs on Ubuntu 22.04

How to Install Emacs on Ubuntu 22.04

Emacs can be installed from snapcraft or flathub, but the convenient method is with the execution of “sudo apt install emacs -y” on Ubuntu 22.04.

How to Install glibc on Ubuntu 22.04

How to Install glibc on Ubuntu 22.04

Ubuntu 22.04 users can install glibc package by executing the command “sudo apt install glibc-source”. The installation method is described here in detail.

How to Install Make on Ubuntu 22.04

How to Install CMake on Ubuntu 22.04

The most convenient method is by running the command “sudo snap install cmake –classic” on Ubuntu 22.04. However, other methods are also explained.

How to Add Grammarly in Google Docs?

How to Add Grammarly in Google Docs?

Google Docs allows users to add “Grammarly” from “webstore” in an existing document. It finds out the mistakes dynamically in the entire document.

How to Insert Exponents in Google Docs

How to Insert Exponents in Google Docs

Google Docs offers “Superscript” and “Equation” options to insert exponents in Google Docs.
It is useful for mathematical equations, scientific formulas and other relevant things

How to Get Class Name in Python

How to Get Class Name in Python

In Python, the class name is obtained by different methods like “type().__name__”, and “__class__.__name__” and “nested “__qualname__” method.

Python Division Operators Explained

Python Division Operators | Explained

The division operators divide two input “float” or “integer” data type numbers using “/” and “//” operators. Both operators provide different types of answers.

How to Add a Shape on Google Docs

How to Add a Shape to Google Docs

Google Docs provides the “Drawing” and “Image” options from the “Insert” tab to add a shape on Google Docs. Users can also modify shapes based on their needs.

Install OpenOffice in Ubuntu 22.04

Install OpenOffice in Ubuntu 22.04

To install OpenOffice on Ubuntu 22.04, install the JDK. Then download and unzip setup file, move to the “en-US/DEBS/” directory, and install the “.deb” package.

How to Install Zsh in Ubuntu 22.04

How to Install Zsh in Ubuntu 22.04

To install Zsh in Ubuntu 22.04, execute the command “sudo apt install zsh -y” and to switch between the shells, use the “exec [shell name]”

How to install Vue.js on Ubuntu 22.04

How to Install Vue.js on Ubuntu 22.04

Vue.js can be installed on Ubuntu 22.04 using the command “npm install vue@next -y”. Its User Interface can be obtained using the “vue ui” command

How to Reverse a Number in Python

How to Reverse a Number in Python

In Python, the “for loop”, “while loop”, “string slicing”, “recursive method” and “reversed() function” are used to reverse a number.

How to Split String in Python

How to Split String in Python?

In Python, the “split()” method is used to split the string according to the value provided by the “separator” parameter and “max split” parameter

How to Repeat N Times in Python

How to Repeat N Times in Python

In Python, the built-in “range() function”, “iter.tools() method” and “split() function” are used to repeat N times. All these methods are explained here.

Exit Commands in Python

Exit Commands in Python

In Python, we used several “Exit” commands like “quit()”, ”exit()”, “sys.exit()”, “os_exit()” and “SystemExit” to terminate the program.

How to Upgrade to Ubuntu 22.04

How to Upgrade to Ubuntu 22.04

Firstly, you need to install the update manager and configure its release-upgrade file. After that, use the “sudo do-release-upgrade” command to upgrade.

How to Add a Border in Google Docs

How to Add a Border in Google Docs

Google Docs provides the “Format” button and “Insert” button to add a border. The borders can also be customized as per the user’s requirements.

How to Create a Folder in Google Docs?

How to Create a Folder in Google Docs?

In Google Docs, the “Folder” button is used to create a folder via the “Move” icon. Moreover, the “New” button in Google Drive creates a folder as well.

How to Alphabetize in Google Docs

How to Alphabetize in Google Docs

The “Doc Tools” extension is used to alphabetize text. It generates the sorted list in alphabetical order. The order could be ascending/descending.