Skip to content

Instantly share code, notes, and snippets.

@henriquebastos
Last active March 22, 2017 23:31
Show Gist options
  • Save henriquebastos/43197ae9d4dfd843b5509ed50393c202 to your computer and use it in GitHub Desktop.
Save henriquebastos/43197ae9d4dfd843b5509ed50393c202 to your computer and use it in GitHub Desktop.
Código do Coding Dojo p/ Calouros do turno da noite na Unilasalle
# coding: utf-8
# Código do Coding Dojo p/ Calouros do turno da noite na Unilasalle
# 21/03/2017
def robo(x):
msg = x
if x == 3 or x == 6:
msg = 'fizz'
return msg
assert robo(1) == 1
assert robo(2) == 2
assert robo(4) == 4
assert robo(3) == 'fizz'
assert robo(6) == 'fizz'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment