Python ascii() Function With Examples

Python ascii() funtion

The ascii() function of Python returns a string containing a printable representation of an object but escapes the non-ASCII characters in the string. This function is similar to repr() function in Python 2. In this article, we will understand the usage of Python ascii()function with some examples. Syntax of Python ascii() function The syntax of … Read more

Python floor() and ceil() functions

python floor() and ceil() method

The floor and ceiling functions are used most frequently in maths or computer programming. These functions return the nearest integer value of a fractional number. Today in this article I will discuss the usage of the floor() and ceil() functions in Python programming. Python floor() method Both Python floor() and ceil() methods are the parts … Read more

Python regex replace

Python regex replace

A regular expression specifies a set of strings that matches it; The re module in Python provides methods to check if a string matches with a regular expression or not and is used to perform different operations based on this. For example sub() and subn() methods are used to find and replace a string in … Read more

Difference between Java and Python

java vs python

Java and Python are among the most popular programming languages of today that are used for developing different system applications, web apps, games, etc. In this article, I will discuss the differences between Java and Python programming languages. What is Java programming? Java is a general-purpose, object-oriented, class-based programming language that was first released in … Read more

Difference between C++ and Java

C++ vs Java

C++ and Java are among the most popular programming languages used for developing different computer applications, games, operating systems, etc. In this article, I will discuss the differences between C++ and Java programming languages. What is C++ programming language? C++ is a general-purpose, mid-level, object-oriented programming language. It is considered an extension of the C … Read more

Difference between Java and JavaScript

difference between Java and JavaScript

Many newcomers to programming thinks that Java and JavaScripts are similar languages but in actuality, they are not. Both of them are completely different programming languages. In this article, I will discuss Java, and JavaScript programming languages and the differences between them. What is Java? Java is a general-purpose, object-oriented, class-based programming language that was … Read more

Difference between C and C++ programming languages

c vs c++

C and C++ are among the most popular programming languages used for developing system applications, games, operating systems, etc. Both sound similar but have differences in terms of the features that they provide. In this article, I will discuss the similarities and differences between C and C++ programming languages. What is C programming language? C … Read more

How to install NumPy on Ubuntu Linux?

install numpy on ubuntu

NumPy means Numerical Python it adds support for multidimensional arrays, matrices and provides a large number of high-level mathematical functions. It is one of the most popular machine learning libraries for Python. Many other libraries like TensorFlow uses NumPy internally for performing various operations. It is interactive and easy to use which makes complex mathematical … Read more

How to install Scikit-Learn on Ubuntu Linux?

Scikit-Learn is a free machine learning library for Python, it is best for working with complex data. It is designed to interoperate with NumPy and SciPy libraries. Scikit-Learn provides a higher-level interface for machine learning and features various classification, regression, and clustering algorithms. It can be combined with the Python web framework to build the … Read more