forked from imnowdevops/ddc-material
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCondition_vars.py
More file actions
27 lines (23 loc) · 1.01 KB
/
Copy pathCondition_vars.py
File metadata and controls
27 lines (23 loc) · 1.01 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
"""
This script will implement our knowledge on
conditions and different datatypes.
"""
print("This IT Organization has various skill sets.")
print("Find out your match.")
print("Enter Capitalised Values: ")
DevOps = ["Jenkins", "Ansible", "Bash", "Python", "Puppet", "Dockers", "Kubernetes", "Terraform"]
Development = ("Nodejs", "Angularjs", "Java", ".net", "Python")
cntr_emp1 = {"Name":"Santa", "Skill":"Blockchain", "Code":1024}
cntr_emp2 = {"Name":"Rocky", "Skill":"AI", "Code":1218}
usr_skill = input("Enter your desired skill: ")
#print(usr_skill)
# Check in the database if we have this skill
if usr_skill in DevOps:
print(f"We Have {usr_skill} in DevOps Team.")
elif (usr_skill in Development):
print(f"We have {usr_skill} in Development Team.")
elif (usr_skill in cntr_emp1.values()) or (usr_skill in cntr_emp2.values()):
print(f"We have contract employees with {usr_skill} skill.")
else:
print("Skill not found")
print("Please check if you have entered value in capitalize or check the spelling.")