Skip to content

Instantly share code, notes, and snippets.

View adiultra's full-sized avatar

Aditya Singh adiultra

View GitHub Profile
@adiultra
adiultra / acro.md
Created November 27, 2015 16:54
Net acronyms website
@adiultra
adiultra / numstowords.py
Created November 27, 2015 16:10
This little python code when run prints the given number in words
words = [
["", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine"],
["", "eleven", "twelve", "thirteen", "fourteen", "fifteen", "sixteen", "seventeen", "eighteen", "ninteen"],
["", "ten", "twenty", "thirty", "fourty", "fifty", "sixty", "seventy", "eighty", "ninty"]
]
out = ""
def triplets(num):
msg = ""
@adiultra
adiultra / logarithms.py
Created September 26, 2015 16:32
This Program/Gist is a Python script that Prints the standard table log and antilog
import math
# let us create header
hdr = 'log \t'
for hd in range(0, 10):
hdr += repr(hd) + '\t'
for hd in range(10):
hdr += repr(hd) + ' '