Skip to content

Instantly share code, notes, and snippets.

View k1ltr0's full-sized avatar

Ricardo Silva k1ltr0

View GitHub Profile
@k1ltr0
k1ltr0 / buscaminas.py
Created March 24, 2020 15:47
base para buscaminas en español
import random
import copy
ancho = int(input("ancho:"))
alto = int(input("alto:"))
probabilidad = float(input("p:"))
def generarCampo(ancho, alto):
campo = []
for y in range(0, alto):
CREATE TABLE "City" (
id integer NOT NULL,
name text,
region_id integer
);
INSERT INTO "City" (id, name, region_id) VALUES (15101, 'Arica', 15);
INSERT INTO "City" (id, name, region_id) VALUES (15102, 'Camarones', 15);
INSERT INTO "City" (id, name, region_id) VALUES (15201, 'Putre', 15);
INSERT INTO "City" (id, name, region_id) VALUES (15202, 'General Lagos', 15);