lunes, 27 de septiembre de 2021

Ejercicio 538 Toesto era campo

 /*

 * To change this license header, choose License Headers in Project Properties.

 * To change this template file, choose Tools | Templates

 * and open the template in the editor.

 */

package aceptaelreto;


import java.util.Scanner;


/**

 *

 * @author jnieto

 */

public class Ejercicio538 {


    /**

     * @param args the command line arguments

     */

    public static void main(String[] args) {

        Scanner leer = new Scanner(System.in);

        int edad, tiempo;

        do{

            edad=leer.nextInt();

            tiempo=leer.nextInt();

            if(edad!=0 || tiempo!=0) 

                if (edad>=tiempo)System.out.println("CUERDO");

                else System.out.println("SENIL");

        }while(edad !=0 || tiempo!=0);

    }

    

}

jueves, 16 de septiembre de 2021

Introducción a la programación con Python




Tkinter:
https://likegeeks.com/es/ejemplos-de-la-gui-de-python/
https://python-para-impacientes.blogspot.com/p/tutorial-de-tkinter.html