Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # 3. Pedir un número e indicar si es positivo o negativo.
- numero = float(input('Por favor introduzca un número: '))
- if numero >= 0:
- print('El número es positivo')
- else:
- print('El numero es negativo')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement