Python for Beginners
Python for Beginners Read More »
In this post you will see that how to make a program in Python which calculates factorial of a natural number, and how it works. You will see that how program is made line by line. First you will define a variable fact with value 1. That will refer value of factorial throughout the program.
Factorial of a Natural Number in Python Read More »
Write a program which finds sum of natural numbers in Python. To understand sum of natural numbers in Python, first understand natural numbers. Set of natural numbers are denoted by N and it is positive whole numbers without having element zero i.e N={1, 2, 3, 4, 5, 6,………..}. In this program I will add first
Sum of Natural Numbers in Python Read More »
In this post, I will explain how to make a Python program which will revere a number i.e. when input number is 325 the output would be 525. If you see the above code first line is num=325 i.e num refers 325. Second line is rnum=0 i.e rnum refers 0. The third line is a
Program to Reverse a Number in Python Read More »
World’s top universities of 2023-2024 was published by QS ranking on 27-June-2023. Further, I have added two more additional columns established year and noted people of the university. So that you will have an idea that why these universities on the top. These universities give rigorous training and advanced knowledge that can make you world’s
World’s Top 30 Universities of 2023-2024 By QS Ranking Published on 27-June-2023 Read More »
If you are trying to get an understanding of Microcontroller Arduino. The first program you will start from glowing an LED. Thereafter, you will use Ultrasonic sensor, DHT sensor, Touch sensor etc. Furthermore, you should have experience of C/C++. Moreover, if you see the code, there are two functions setup() and loop(). If you put
Glowing an LED using Arduino Microcontroller Read More »
If you are learning Python, and you are a beginner, after making Hello world program in Python. You should perform basic computations like addition, multiplication, subtraction and division. Addition of Two Numbers in Python- See the program for addition of two numbers. Output would be 16 In the above code a refers to 12 i.e.
Addition, Multiplication, Subtraction and Division in Python Read More »
Understand Decision Tree Learning Decision tree learning is a supervised learning algorithm, which can be used for classification as well as regression tasks. Moreover, it mimics the human’s decision making process and very effective in several applications. In this post you will know that how to construct a decision tree learning model using Gini Index.
Decision Tree Learning Read More »
Basically, there are four types of machine learning algorithms. 1- Supervised Learning Algorithms- In supervised learning, values of features and labels or classes are given. Further, Supervised learning algorithms are of two types. 1.1- Regression- In regression numerical values are predicted. 1.2-Classification In classification, labels are predicted. 2-Unsupervised Learning Algorithms In unsupervised learning, instances have
Understand classification Problem in Machine Learning Read More »
Explanation of code line by line. See Also: Python Program to Check Whether a Number is Even or Odd
Program to Find Out Circumference and Area of a Circle in Python Read More »