## Introduction

Write a Python program to convert month name to a number of days. I have used python 3.7 compiler for debugging purpose.

Python Numbers With Examples

Python datetime (With Examples)

Python Examples

Python Tuple With Examples

Python List (With Examples)

How To Print Hello World in Python

250+ Python Programming Examples & Exercises with solutions

Python Map | Mapping Function in Python

Python Random Module | Python random number

Python Arrays | Python Array Tutorial

Python Tutor | Online Python Tutorial

Python range() Function with Examples

Python RegEx | Python Regular Expressions

What is Python Programming?

Python Operators with Examples

Python XOR | Python Bitwise Operators

All Star Patterns in Python Programming Language

Python Exercises: Solutions Example Programs With output

List of python basic programs with examples

Python programs to print alphabet pattern

All Function programs in python with examples

All Conditional and loop programs using Python programming Language

Write a Python program to sum of two given integers. if the sum is between 15 to 20 it will return 20

Python Program to Find Median of Values

Write a Python program to calculate the sum and average of n integer numbers. Input 0 to finish

Write a Python program to create the multiplication table (from 1 to 10) of a number

Write a Python program to check whether an alphabet is a vowel or consonant

Write a Python program to check the validity of a password

Write a Python program that accepts a string and calculate the number of digits and letters

Write a Python program that prints all the numbers from 0 to 10 except 2 and 8

Write a Python program to get the Fibonacci series between 0 to 30

Write a Python program to convert temperatures to and from celsius, fahrenheit

Write a Python program to find those numbers which are divisible by 7 and multiple of 5, between 1500 and 2700

Write a Python program that accepts a word from the user and reverse it

Write a Python program to count the number of even and odd numbers from a series of numbers

Write a Python program to access a function inside a function

Write a Python function to create and print a list where the values are square of numbers between 1 and 20

Write a Python function that prints out the first n rows of Pascal’s triangle

Write a Python function that checks whether a passed string is palindrome or not

Write a Python program to print the even numbers from a given list

Write a Python function that takes a number as a parameter and check the number is prime or not

Write a Python function that takes a list and returns a new list with unique elements of the first list

Write a Python function that accepts a string and calculate the number of upper case letters and lower case letters

Write a Python function to check whether a number is in a given range

Write a Python function to calculate the factorial of a number

Write a Python function to reverse given string

Write a Python function to multiply all the numbers in a list

Write a Python function to sum all the numbers in a list

Write a Python function to find the Max of three numbers

Write a Python program to find the number of notes (Sample of notes: 10, 20, 50, 100, 200 and 500 )

Write a Python program to find the median among three given numbers

Write a Python program to add two positive integers without using the ‘+’ operator

Write a Python program to create the combinations of 3 digit combo

Write a Python program to remove and print every third number from a list of numbers until the list becomes empty

Write a Python program to convert true to 1 and false to 0

Write a Python program to sum of all counts in a collections

Write a Python program to filter the positive numbers from a list

Write a Python program to input a number, if it is not a number generate an error message

Write a Python program to remove the first item from a specified list

Write a Python program to find postive or negative number

Write a Python program to get the name of the host on which the routine is running

Write a Python program to Swap two variables

Write a Python program to Get the ASCII value of a character

Write a Python program to Concatenate N strings

Write a Python program to Calculate the sum of the digits in an integer

Write a Python program to Calculate body mass index

Write a Python program Convert all units of time into seconds

Write a Python program to convert the distance (in feet) to inches, yards, and miles

Write a Python program to convert height (in feet and inches) to centimeters

Write a python program to sum of the first n positive integers

Write a Python to find local IP addresses using Pythons stdlib

Write a Python program to test whether a passed letter is a vowel or not

Write a Python program to concatenate all elements in a list into a string and return it

Write a Python program that will accept the base and height of a triangle and compute the area

Write a Python program to get the least common multiple (LCM)

Write a Python program to compute the greatest common divisor (GCD)

Write a Python program to add two objects if both objects are an integer type

Write a Python program to display your details like name, age, address

Write a Python program to solve (x + y) * (x + y)

Write a Python program to check whether a file exists

Write a Python program to find whether a given number is even or odd

Write a Python program to calculate the sum of three given numbers, if the values are equal then return thrice of their sum.

Write a Python program to print the calendar of a given month and year

Write a Python program that accepts an integer (n) and computes the value of n+nn+nnn

Write a Python program to display the examination schedule

Write a Python program to accept a filename from the user and print the extension of that file

Write a Python program which accepts the user’s first and last name and print them in reverse order

Write a Python program which accepts the radius of a circle from the user and compute the area

Write a Python program to display the current date and time

Write a Python program to convert month name to a number of days. I have used python 3.7 compiler for debugging purpose.

```
print("List of months: January, February, March, April, May, June, July, August, September, October, November, December")
month_name = input("Input the name of Month: ")
if month_name == "February":
print("No. of days: 28/29 days")
elif month_name in ("April", "June", "September", "November"):
print("No. of days: 30 days")
elif month_name in ("January", "March", "May", "July", "August", "October", "December"):
print("No. of days: 31 day")
else:
print("Wrong month name")
```

Introduction : java final keyword The final keyword present in Java programming language is generally used for restricting the user. …

C++ Memory Management We know that arrays store contiguous and the same type of memory blocks, so memory is allocated …