For loop - Python programs

Display sum of 1 to 10 number by using for loop
 
Code Snippet:


While loop - Python program

Find first n numbers divisible by 5 using while loop
 
Code Snippet:

Python Program - Arithmetic Operations

Arithmetic Operations

Code Snippet:

Python program to read a list of integers and print only the multiples of 8

Read a list of integers and print only the multiples of 8

Code Snippet:

Python program to find first 10 prime numbers

First 10 prime numbers 

Code Snippet:

Python program to Create a list of the first 15 even numbers that are not divisible by 6

Create a list of first 15 even numbers that are not divisible by 6 using for loop
 
Code Snippet:
 

Python program to find the greater of 2 numbers

Write a function in python to find the greater of 2 numbers.

Code Snippet:

You might also like

Deploy your Django web app to Azure Web App using App Service - F1 free plan

In this post, we will look at how we can deploy our Django app using the Microsoft Azure app service - a free plan. You need an Azure accoun...