Reading Time: 1 minutesUnit Conversion: Height in centimetres in Python - Python code to convert height from feet and inches to centimeters. Unit Conversion: Height in centimetres in Python Try it here. See […]
Month: January 2017
PyPro #18 Remove comments from a file with Exception Handling
Reading Time: 1 minutesRemove comments from a file with Exception Handling in Python: Python script to remove comments from a file. Remove comments from a file with Exception Handling in Python Try it […]
PyPro #17 Sum a List of Numbers with Exception Handling
Reading Time: 1 minutesSum a List of Numbers with Exception Handling in Python: A simple Python program of adding 3 given numbers, handling exception in case user inputs anything other than digits. Sum […]
PyPro #16 Emulate tail command of Unix in Python
Reading Time: 1 minutesEmulate tail command of Unix in Python: Python script to emulate tail command of Unix. Emulate tail command of Unix in Python Try it here. See also: Python 101 Object […]
PyPro #15 Center a String in the Terminal
Reading Time: 1 minutesCenter a String in the Terminal in Python: Python script to center a string in the terminal. Center a String in the Terminal in Python Try it here. You will […]
PyPro #14 Median of Three Values
Reading Time: 1 minutesMedian of Three Values in Python: A Python program to calculate median of three values. Median of Three Values in Python Try it here. You will have to call mainProgram() […]
PyPro # 13 Prime Number or Not
Reading Time: 1 minutesPrime Number or Not in Python: A Python program to check whether the provided number is prime or not. Prime Number or Not in Python Try it here. You will […]
PyPro #12 Computing Scrabble Score (using a Dictionary)
Reading Time: 1 minutesComputing Scrabble Score (using a Dictionary) in Python Computing Scrabble Score (using a Dictionary) in Python Python script to compute Scrabble score for a word using a dictionary. Try it […]
PyPro #11 Shuffling a deck of cards (using Lists)
Reading Time: 1 minutesShuffling a deck of cards (using Lists) in Python Shuffling a deck of cards (using Lists) in Python Python script to shuffle a deck of cards using lists. Try it […]
PyPro #10 Leap Year or Not
Reading Time: 1 minutesleap year or not in Python leap year or not in Python Python program to determine whether a given year is a leap year or not. A leap year is […]