Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python
- # -*- coding: utf-8 -*-
- #
- """
- a) Programa que pide un año y devuelve si es bisiesto o no:
- Ej:
- >>> Ingrese un año: 2020
- >>> 2020 es bisiesto
- AYUDA: un año es bisiesto si:
- 1) es divisible por cuatro y no es divisible por 100
- 2) es divisible por 100 y no por 400
- b) Programa que pasa de km/h a m/s y viceversa:
- >>> Ingrese una velocidad: 35
- >>> Ingrese una unidad de medida (1: km/h, 2:m/s): 2
- >>> 35 m/s equivalen a ....km/h
- """
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement