programming-examples/python/Basics
2019-11-18 14:44:36 +01:00
..
Accept the base and height of a triangle and compute the area.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Access and print a URL's content to the console.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Access environment variables.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Calculate midpoints of a line.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Calculate number of days between two dates.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Calculate the hypotenuse of a right angled triangle.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Calculate the sum of the digits in an integer.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Calculate the sum of three given numbers, if the values are equal then return thrice of their sum.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Check whether Python shell is executing in 32bit or 64bit mode on OS.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Compute the distance between two points.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Concatenate all elements in a list into a string.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Convert all units of time into seconds.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Convert height (in feet and inches) to centimeters.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Convert pressure in kilopascals to pounds.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Convert the distance in feet to inches, yards, and miles.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Create a histogram from a given list of integers.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Determine profiling of Python programs.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Find out the number of CPUs using.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Generate a list and tuple with comma-separated numbers.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Get a string which is n (non-negative integer) copies of a given string.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Get OS name, platform and release information.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Get the difference between a given number and 17, if the number is greater than 17 return double the absolute difference.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Get the path and name of the file that is currently executing.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Input a filename and print the extension of that.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Input an integer (n) and computes the value of n+nn+nnn.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Input the radius of a circle and compute the area.py Upload basic README.md 2019-11-18 14:44:36 +01:00
List all files in a directory in Python.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Measure execution time.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Print first and last name in reverse order with a space between them.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Program to add two numbers.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Program to calculate the square root.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Program to generate a random number between 0 and 9.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Python program that accepts a comma separated sequence of words as input and prints the unique words in sorted form (alphanumerically).py Upload basic README.md 2019-11-18 14:44:36 +01:00
Python Program to Add Two Matrices.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Python Program to Check Armstrong Number.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Python Program to Check if a Number is Odd or Even.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Python Program to Check Leap Year.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Python Program to Check Prime Number.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Python Program to Check Whether a String is Palindrome or Not.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Python Program to Convert Celsius To Fahrenheit.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Python Program to Convert Decimal to Binary Using Recursion.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Python Program to Convert Decimal to Binary, Octal and Hexadecimal.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Python Program to Convert Kilometers to Miles.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Python program to count the number of characters (character frequency) in a string.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Python Program to Count the Number of Each Vowel.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Python program to count the occurrences of each word in a given sentence.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Python Program to Display Calendar.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Python Program to Display Fibonacci Sequence Using Recursion.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Python Program To Display Powers of 2 Using Anonymous Function.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Python Program to Display the multiplication Table.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Python Program to Find Armstrong Number in an Interval.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Python Program to Find ASCII Value of Character.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Python Program to Find Factorial of Number Using Recursion.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Python Program to Find Factors of Number.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Python Program to Find Hash of File.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Python Program to Find HCF or GCD.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Python Program to Find LCM.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Python Program to Find Numbers Divisible by Another Number.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Python Program to Find Sum of Natural Numbers Using Recursion.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Python Program to find the area of triangle.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Python Program to Find the Factorial of a Number.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Python Program to Find the Largest Among Three Numbers.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Python Program to Find the Size (Resolution) of a Image.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Python Program to Find the Size (Resolution) of Image.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Python Program to Find the Sum of Natural Numbers.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Python program to get a string from a given string where all occurrences of its first char have been changed to '$', except the first char itself.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Python program to get a string made of the first 2 and the last 2 chars from a given a string.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Python program to get the the volume of a sphere with radius 6.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Python Program to Illustrate Different Set Operations.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Python Program to Make a Simple Calculator.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Python Program to Merge Mails.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Python Program to Multiply Two Matrices.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Python Program to Print all Prime Numbers in an Interval.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Python Program to Print the Fibonacci sequence.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Python Program to Remove Punctuations From a String.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Python Program to Shuffle Deck of Cards.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Python Program to Solve the quadratic equation.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Python Program to Sort Words in Alphabetic Order.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Python program to swap two variables.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Python Program to Transpose a Matrix.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Python script that takes input from the user and displays that input back in upper and lower cases.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Return true if the two given int values are equal or their sum or difference is 5.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Sort files by date.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Sum of the first n positive integers.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Test whether a number is within 100 of 1000 or 2000.py Upload basic README.md 2019-11-18 14:44:36 +01:00
Test whether a passed letter is a vowel or not.py Upload basic README.md 2019-11-18 14:44:36 +01:00