Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block kstampo

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
kstampo /
Last active Oct 22, 2017
Automate the boring stuff with Python
def collatz(number):
if number%2==0:
#print (number//2)
return number//2
#print (3*number+1)
return 3*number+1
print ("Enter a number", end=" ")
You can’t perform that action at this time.