Tag Archive for python

A new Coding Dojo Kata: Poker Dice

I wanted to find a simple kata for a coding dojo that wasn't too hard for novice programmers but wasn't trivial at the same time. PokerHands was my first choice but having to deal with the different card suits seemed to add unnecessary complexity for a beginner's exercise. Luckily I was able to find something that captured the essence of the Poker Hands kata but using... dice!

Aside

#!/usr/bin/pythonnfrom random import randintn[[randint(1,60) for j in range(0,6)] for i in range(0,3)] #python #megasena

Status

Eduardo Maçan

O que irrita é o programa ser interrompido porque alguma package não gostou de encontrar um caractere estranho. Eu entendo, mas... #python

Status

Eduardo Maçan

#python RT: @rbanffy @lucmult: O Grupy-SP tá voltando às atividades! Dia 19/02/2010 novo encontro http://is.gd/7W22g "Não perdam"!