Skip to content

Instantly share code, notes, and snippets.

@Grumblesaur
Created November 1, 2015 05:15
Show Gist options
  • Save Grumblesaur/53da46a625d49e295239 to your computer and use it in GitHub Desktop.
Save Grumblesaur/53da46a625d49e295239 to your computer and use it in GitHub Desktop.
# 1
print('Hello, World!')
# 2
from math import factorial as f
print(str(f(int(input()))))
# 3
def p(N):r=range(2,N);return sum(x for x in r if sum(x%d==0 for d in r)<2)
# 4
def U():
Q=[]
for T in input().lower():
if T not in Q and not T.isspace():Q+=[T]
return "".join(Q)
# 5
print(" * \n *** \n ***** \n*******\n ***** \n *** \n * \n")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment