Making Python code interact with people using tkinter GUI.
Category: Python
Get number of permutions of a number (using Python)
Below are the results of the number of permutations for number 2313 and 7612. Any number with any amount of integers will also work. 3rd
Selection Sort Algorithm using Python
The above Python code is the steps for Selection Sort algorithm. It basically compares the 1st element with the rest of the elements in the
Python Functions
Functions are block of code to perform some task or return some value. Functions can be reuse by the programmer. Using formatted string instead of
Using Python’s tuple packing and unpacking to switch 2 variables
Tuple is somehow similar to a List in Python except that the elements in a tuple is immutable (cannot be change or modified throughout the
Random Number Generator and Linear Congruential Generator(LCG) using Python
Random number generated by Python are called pseudo random number. The pseudo random number generator (PRNG) algorithm by Python uses a starting point ( aka