Last active
March 22, 2017 23:31
-
-
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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