(Python Tutorials for Citizen Data Scientist) Python Program to Find ASCII Value of Character In this program, you’ll learn to find the ASCII value of a character and display it. ASCII stands for American Standard Code for Information Interchange. It is a numeric value given to different characters and symbols, for computers to store and …
Month: January 2021
(Python Tutorials for Citizen Data Scientist) Python Code to Convert Decimal to Binary, Octal and Hexadecimal In this program, you’ll learn to convert decimal to binary, octal and hexadecimal, and display it. The decimal system is the most widely used number system. However, computers only understand binary. Binary, octal and hexadecimal number systems are closely …
(Python Tutorials for Citizen Data Scientist) Python Program to Find Numbers Divisible by Another Number In this program, you’ll learn to find the numbers divisible by another number and display it. In the program below, we have used anonymous (lambda) function inside the filter() built-in function to find all the numbers divisible by 13 in the …
(Python Tutorials for Citizen Data Scientist) Python Code To Display Powers of 2 Using Anonymous Function In this program, you’ll learn to display powers of the integer 2 using Python anonymous function. In the program below, we have used an anonymous (lambda) function inside the map() built-in function to find the powers of 2. Source Code # …
Python-Introduction-Know-it-first Personal Career & Learning Guide for Data Analyst, Data Engineer and Data Scientist Applied Machine Learning & Data Science Projects and Coding Recipes for Beginners A list of FREE programming examples together with eTutorials & eBooks @ SETScholars 95% Discount on “Projects & Recipes, tutorials, ebooks” Projects and Coding Recipes, eTutorials and …
(Python Tutorials for Citizen Data Scientist) Python Code to Find the Sum of Natural Numbers In this program, you’ll learn to find the sum of n natural numbers using while loop and display it. In the program below, we’ve used an if…else statement in combination with a while loop to calculate the sum of natural numbers up …
(Python Tutorials for Citizen Data Scientist) Python Code to Print the Fibonacci sequence In this program, you’ll learn to print the Fibonacci sequence using while loop. A Fibonacci sequence is the integer sequence of 0, 1, 1, 2, 3, 5, 8…. The first two terms are 0 and 1. All other terms are obtained by …
(Python Tutorials for Citizen Data Scientist) Python Program to Display the multiplication Table This program displays the multiplication table of variable num (from 1 to 10). In the program below, we have used the for loop to display the multiplication table of 12. Source Code # Multiplication table (from 1 to 10) in Python num …
(Python Tutorials for Citizen Data Scientist) Python Code to Find the Factorial of a Number In this article, you’ll learn to find the factorial of a number and display it. The factorial of a number is the product of all the integers from 1 to that number. For example, the factorial of 6 is 1*2*3*4*5*6 = …
(Python Tutorials for Citizen Data Scientist) Python Code to Check Prime Number Example to check whether an integer is a prime number or not using for loop and if…else statement. If the number is not prime, it’s explained in output why it is not a prime number. A positive integer greater than 1 which has …