Skip to content

Instantly share code, notes, and snippets.

View neiesc's full-sized avatar
💚

Edinei Cavalcanti neiesc

💚
View GitHub Profile
@neiesc
neiesc / README.rst
Last active September 25, 2015 05:08
Função quadrática (Quadratic function)
@neiesc
neiesc / Serpenteador.py
Created November 21, 2010 20:43
Problema: dada uma matriz NxN, preenchê-la com números naturais em forma de espiral.
#-*- coding: utf-8 -*-
#Problema: dada uma matriz NxN, preenchê-la com números naturais em forma de espiral.
#Ex: matriz 4 x 4
#01 02 03 04
#12 13 14 05
#11 16 15 06
#10 09 08 07
#Baseado versão pascal http://pastebin.com/YRHrMSGw