Skip to content

Instantly share code, notes, and snippets.

View eidolonrage's full-sized avatar

Nathan Boole eidolonrage

  • Grenunny Studios LLC
  • Atlanta, GA
View GitHub Profile
@eidolonrage
eidolonrage / nathanfizzbuzz.py
Created June 14, 2014 01:05
Nathan's FizzBuzz thingy
x = 1
for x in range(1,101):
y = x%3
z = x%5
if y + z == 0:
print 'FizzBuzz'
else:
if y == 0:
print 'Fizz'
else:
@eidolonrage
eidolonrage / seconds_converter.py
Last active August 29, 2015 14:02
This here is a file.
time = None
while not time:
try:
time = int(raw_input('Time in seconds: '))
except ValueError:
print 'Invalid Number'
hundredths = float (time)/60
minutes = time/60
while hundredths > 1:
hundredths -= 1