Category Archives: Python Programming Language

Python Program to convert string to Opposite case

Task: Write a Python Program to convert string to Opposite case. This Python programming tutorial will input a string and convert its letters to opposite case. It means that if this Python code will find a lower case letter, it will convert it into upper case and vice versa. For example, it will convert the… Read More »

Loading

Python Program to Convert String to Upper Case

Task: Write a Python Program to  Convert a given String to Upper Case. The Source Code of Python Program to Convert String to Upper Case # Write a Python program to # input a string and change into # upper case # The user will enter String # during program execution # author: www.EasyCodeBook.com #… Read More »

Loading

Python Program To Show Calendar of a Year

Task: Python Program To Show Calendar of a Year. This Python programming tutorial uses predefined ‘calendar’ madule to display calendar of a whole year. The user will input a year as 2019. This Python calendar program will show the complete calenar of that year. The Source Code of Python Program To Show Calendar of a… Read More »

Loading

Python Program to output Calendar for a month

Task: Write a Python Program to output the required Calendar. This Python programming tutorial will explain how to use calendar module to show a required calendar. What is the calendar Module in Python? The Python’s calendar module permits you to develop and display calendars. The calendar module provides additional useful functions related to the calendar… Read More »

Loading

Palindrome Program in Python

Task: Write a Python program to input a string and check it for Palindrome or not. The source code of Palindrome Program in Python # Write a Python program to input # a string and check it for Palindrome # Author: www.EasyCodeBook.com s1=input(“Enter string to check for Palindrome:”) # get reversed string by string slicing… Read More »

Loading

Python Text File Program To Count Vowels

Task: Write a Python Text File Program To Count Vowels. This Python Programming tutorial will explain how to open a text file in read mode. This Python script will count the how many vowels are present in this text file. For this program we will assume that: The file has the name mytext.txt and it… Read More »

Loading