Skip to content

Instantly share code, notes, and snippets.

Polina Giralt punkrockpolly

Block or report user

Report or block punkrockpolly

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
demo_buckets = {
'politics1': ['active_percent',
'politics2': ['independent_percent',
'gender': ['female_percent',
'kids': ['has_kids_percent',

Keybase proof

I hereby claim:

  • I am punkrockpolly on github.
  • I am polina ( on keybase.
  • I have a public key whose fingerprint is B4D7 0992 57B7 08E5 9F0B 002B EE0C E79A A4B6 E8F0

To claim this, I am signing this object:

View README.rst

Markdown and reStructuredText

GitHub supports several lightweight markup languages for documentation; the most popular ones (generally, not just at GitHub) are Markdown and reStructuredText. Markdown is sometimes considered easier to use, and is often preferred when the purpose is simply to generate HTML. On the other hand, reStructuredText is more extensible and powerful, with native support (not just embedded HTML) for tables, as well as things like automatic generation of tables of contents.

punkrockpolly /
Last active Dec 19, 2015
Game of ConnectFour. 2 human players take turns. Objective is to make 4 in a row. Pieces drop to lowest available spot in column selected.
## Game of ConnectFour
## 2 human players take turns
## Objective is to make 4 in a row
## Pieces drop to lowest available spot in column selected
class Board(object):
def __init__(self):
self.num_row = 6
self.num_col = 7
punkrockpolly / FizzBuzz
Last active Dec 19, 2015
FizzBuzz: Write a program that prints out the numbers 1 to 100 (inclusive). If the number is divisible by 3, print Fizz instead of the number. If it's divisible by 5, print Buzz. If it's divisible by both 3 and 5, print FizzBuzz.
View FizzBuzz
for x in range (1, 101):
output = ""
if x%3 == 0:
output += "Fizz"
if x%5 == 0:
output += "Buzz"
if output == "":
You can’t perform that action at this time.