-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhola.py
More file actions
87 lines (62 loc) · 1.63 KB
/
Copy pathhola.py
File metadata and controls
87 lines (62 loc) · 1.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# print("Ingrese su nombre")
# nombre=input()
# print("Ingrese su edad")
# edad=int(input())
# print("Hola", nombre, " su edad en 5 años mas será" , edad+5)
# print("Ingrese su nombre")
# nombre=input()
# print("Ingrese su edad")
# edad=int(input())
# print("Hola", nombre, "su edad es" , edad)
# print(f"Hola {nombre} su edad es {edad}")
# if edad>=18:
# print("Usted es mayor de edad")
# else:
# print("Usted NO es mayor de edad")
# n1=int(input("Ingrese un numero"))
# n2=int(input("Ingrese un numero"))
# print("El resultado es ", n1+n2)
# menor de 12 es niño
# entre 12 y 17 es adolescente
# entre 18 y 64, es adulto
# 65 y mas es adulto mayor
# print("Ingrese su edad")
# edad=int(input())
# if edad<12:
# print("Usted es niño")
# elif edad>=12 and edad<=17:
# print("Usted es adolescente")
# elif edad>=18 and edad<=64:
# print("Usted es adolescente")
# else:
# print("Usted es adulto")
# # Clave secreta
# clave=3344
# print("Ingrese su clave")
# pas=int(input())
# if pas==clave:
# print("Bienvenido al sistema")
# else:
# print("Clave invalida")
# # numeros pares e impares
# num=int(input("Ingrese un numero"))
# if num % 2==0:
# print("El numero es par")
# else:
# print("El numero es impar")
color=input("Ingrese un color")
# si es azul es de la U
# Si es blanco cc
# si es rojo Union
# si es Verde, audax
# Si es otro no es color válido
if color =="azul":
print("Es de la U")
elif color=="blanco":
print(" Es d Colo-Colo")
elif color=="rojo":
print(" Es d Union Española")
elif color=="verde":
print(" Es d Audax Italiano")
else:
print("No es un color valido")