Skip to content

Instantly share code, notes, and snippets.

@henriquebastos
Created March 22, 2017 23:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save henriquebastos/57b1c581c61a2d116f948f494c5fa5bc to your computer and use it in GitHub Desktop.
Save henriquebastos/57b1c581c61a2d116f948f494c5fa5bc to your computer and use it in GitHub Desktop.
Código do Coding Dojo p/ Calouros do turno da manhã na Unilasalle
# coding: utf-8
# Código do Coding Dojo p/ Calouros do turno da manhã na Unilasalle
# 21/03/2017
def robo(num):
msg=num
if num==3:
msg='fizz'
if num==5:
msg='buzz'
return msg
assert robo(1)==1
assert robo(2)==2
assert robo(4)==4
assert robo(3)== 'fizz'
assert robo(5)== 'buzz'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment