Reading Time: 1 minutesGetting size of a file on disk in Python: Using the stat() function of builtin module os, you can retrieve information about a file on disk, including its size in […]
PyPro #31 nth Term of Fibonacci Series
Reading Time: 1 minutesnth Term of Fibonacci Series in Python: Write a Python function which gives nth term of Fibonacci series. Fibonacci series is a sequence of numbers in which each number is […]
PyPro #30 Computing Factorial of a Number
Reading Time: 1 minutesComputing Factorial of a Number in Python: Compose a factorial() function which accepts an integer and returns its factorial. Factorial (denoted by an exclamation mark !) of a number x […]
PyPro #29 Password Validator
Reading Time: 1 minutesPassword Validator in Python: Build a validatePassword() function which accepts a password as string and reports if it is a good password or not based on the following constraints: Password […]
PyPro #28 Generating a Random Password
Reading Time: 1 minutesGenerating a Random Password in Python: Write a Python program which generates a random password. The password may consist of alphabets, numbers & special symbols. Its length should be between […]
PyPro #27 Tuple of Odd Numbers
Reading Time: 1 minutesTuple of Odd Numbers in Python: A Python program which accepts end bounds of a range from the user, and outputs a tuple containing only odd numbers lying in the […]
PyPro #26 Sorted Sequence With No Duplicates
Reading Time: 1 minutesSorted Sequence With No Duplicates in Python: A Python script which prompts the user for a sequence of space-separated words, and outputs the sorted sequence with no duplicates. For example, […]
PyPro #25 Unique Characters in a string using a dictionary
Reading Time: 1 minutesUnique Characters in a string using a dictionary in Python: Write a Python program which asks the user for a string, and outputs number of unique characters in it. For […]
PyPro #24 Positives, Negatives & Zeroes using lists
Reading Time: 1 minutesPositives, Negatives & Zeroes using lists in Python: Write a Python script which prompts the user for a sequence of integer values, and once he is finished, displays the list […]
PyPro #23 Conversion Table: Celsius to Fahrenheit Temperatures
Reading Time: 1 minutesConversion Table: Celsius to Fahrenheit Temperatures in Python - Write a Python script to output a conversion table for Celsius to Fahrenheit temperatures. Ask the user to input lower bound […]

