Matplotlib –
Matplotlib is probably the single most used python package for 2D Graphs. It provides vary quick way to visualize data from python and publication-quality figures in many formats. import matplotlib.pyplot…
Matplotlib is probably the single most used python package for 2D Graphs. It provides vary quick way to visualize data from python and publication-quality figures in many formats. import matplotlib.pyplot…
Web scraping is used to extract huge amount of data from website which then stored into a local file in your computer or in any other database. Basically web scraping…
Pandas is a library in python that is used for data manipulation and data analysis. You can install pandas in your jupyter terminal by writing:- conda install pandasOnce you install…
from numpy import exp, array, random, dot training_set_inputs = array([[0, 0, 1], [1, 1, 1], [1, 0, 1], [0, 1, 1]]) training_set_outputs = array([[0, 1, 1, 0]]).T random.seed(1) synaptic_weights =…
# for converting your text into voice you need to install win32com library and there are many more libraries for this purpose like gtt etc.import win32com.client as wincl speak=wincl.Dispatch("SAPI.SpVoice") speak.Speak("Hello…
The for loop in python is used to iterate over a sequence or other iterable objects. The range() function returns the sequence of numbers from 0(by default) with an increment…
Bredth-first search algorithm is used for transversing or searching tree or group data structures.It starts at the tree root and explores all of the neighbor nodes at the present depth…
In python everything is an object. Numbers, Strings, Booleans and even code is considered as objects. Objects are like containers of data. Numbers,Strings and Booleans - Single Value Tuples, Lists,…
Input & Output - We use the print() function to output data to the standard output device (screen). To allow flexibility we might want to take the input from the…
Python is a dynamic, high level and interpreted programming language.It is simple and easy to learn and provides lots of high-level data structures. Python makes the development and debugging…