User-submitted Python Projects

81
1608 reads
nathan_mullenax's picture

Submitted by

nathan_mullenax
Tags:

GCF of two numbers in Python(1.0)
Enter first value then second value and it will compute the GCF. Made a few changes: see code comments. Old version would have failed on GCD(24,36) for example.


Run It Now!
73
1713 reads
TimeConverter1
A Python function to convert time from 12hr to 24hr format...
Run It Now!
65
1632 reads
CreatingRingGraph
This python module takes input as list of nodes and returns a ring Graph(dictionary). In which elements are connected to one another in a sequence and last and first element is also connected.
Run It Now!
82
1374 reads
FindingMedian
this python module takes an input of list of numbers and returns the median without using any sorting method and is quicker than those methods.time complexity is O(k log(n)).
Run It Now!
75
1440 reads
DecimalToOctalquickerway
this python module takes an input and returns its octal form in a quicker way as it operates on bitwise operator.
Run It Now!
85
1751 reads
FindingEulerianTourGraphs
this python module takes an input of list of tupples representing edges in a graph and it finds out the eulerian path.The input must contain nodes having even edges.The property of eulerian tour is t
Run It Now!
82
1483 reads
Top_kSelection
this program takes input of list of numbers and gives the output of top k (e.g. top 20) selections out of the enterd number.It returns top k elements but not in order.
Run It Now!
67
1841 reads
Aman's picture

Submitted by

Aman
Top_kSelection
This python module takes an input of list of numbers and outputs top k numbers out of them.the top k numbers are not in order.This doesn't involve sorting.So this takes comparitively lesser time...
Run It Now!
68
1519 reads
Aman's picture

Submitted by

Aman
DecimalToOctal
This python module converts decimal to octal very quickly as it uses bitwise operator which are quicker.
Run It Now!
79
1537 reads
Aman's picture

Submitted by

Aman
DecimalToBinary
this python module prints the binary form of a decimal number in string format, you can just convert it to integer.
Run It Now!