Skip to content
  • Home
  • Posts
  • Videos
  • Books
  • Contact
  • Search
Programming in Python
All about python
FacebookGoogle PlusYoutubeGithubTwitter
 
  • Home
  • Posts
  • Videos
  • Books
  • Contact
  • Search
Home Archive for category "Basic Programs" (Page 3)

Category: Basic Programs

All basic programs for people who started learning python programming language. Programs on different topics like operators, loops, decision making, numbers, strings, basic lists.

All the programs in this category are presented with a great explanation with screenshot of the executed output and source code is made available on GitHub platform.

Here all the topics are provided with some enough example programs, a few of them are

  • Checking a number is even or odd
  • Performing arithmetic operations like addition, subtraction, multiplication, division, floor division, modulus, exponential and power operations ( +, -, *, /, //, %, **).
  • Programs on logical operations like AND, OR, NOT.
  • Performing bitwise operations like Binary AND, Binary OR, Binary XOR, Binary one’s compliment. Binary Left Shift, Binary Right Shift (&, |, ^, ~, <<, >>).
  • Reverse of a number
  • Palindrome number
  • Armstrong number

and many more such basic programs. Following are the programs listed in this category.

Basic Programs

Python program to find average of N numbers

By avinash September 7, 2016 March 31, 2021  average, loops, raw input 0

Hello everyone, welcome back to programming in python! Here we will learn a simple logic to find average on N numbers in python. This program takes max numbers from the user and calculates the sum of …

Continue reading"Python program to find average of N numbers"
Basic Programs

Python Program to find whether an integer is even or odd number

By avinash September 2, 2016 May 16, 2020  even or odd, if else 1

In this post, we will develop a simple logic to check whether an integer is even or odd number. Any number( positive/negative ) which is divisible by number 2 is declared as an even number …

Continue reading"Python Program to find whether an integer is even or odd number"
Basic Programs

Python program for performing Arithmetic Operations

By avinash August 31, 2016 May 16, 2020  arithmetic operations, input, operators 1

This is basic python program for all beginners in python programming language. It simply takes two integer numbers and performs arithmetic operations like addition, subtraction, multiplication, division, floor division, modulus and exponential(power) on them. Program …

Continue reading"Python program for performing Arithmetic Operations"
Basic Programs, Programs on Lists

Python Lists – Add, Append, Modify, Remove, Slice

By avinash August 31, 2016 June 17, 2020  append, length, lists, slice 2

In this post, we will learn about Lists in python. Here we perform the basic operations on a list like adding items to a list, appending an item at the end of the list, modify …

Continue reading"Python Lists – Add, Append, Modify, Remove, Slice"

Posts navigation

1 2 3
FacebookGoogle PlusYoutubeGithubTwitter

Recommended Courses

Complete Python Developer: Zero to Mastery.
Automate the boring stuff.
Python and Django Full Stack Web Developer Bootcamp.
Artificial Intelligence and Machine Learning E-Degree.
Complete Python & Python OOP.

Categories

  • Algorithms (7)
  • Alphabet Patterns (26)
  • Basic Programs (24)
  • Database (1)
  • GUI Programs (5)
  • Math Programs (7)
  • Patterns (29)
  • Programs on Dictionaries (2)
  • Programs on Files I/O (1)
  • Programs on Functions (12)
  • Programs on Lists (14)
  • Programs on sets (1)
  • Programs on Tuples (1)
  • Searching Algorithms (2)
  • Sorting Algorithms (5)

Recent Posts

  • Python Program to print pattern of letter Z
  • Python Program to print pattern of letter Y
  • Python Program to print pattern of letter X
  • Python Program to print pattern of letter W
  • Python Program to print pattern of letter V
    • Home|
    • Videos|
    • Books|
    • Contact|
    • Privacy Policy|
    Back to Top
    FacebookGoogle PlusYoutubeGithubTwitter
    programminginpython.com © 2016 - 2018
    Powered by Fluida & WordPress.