Skip to main content

Command Palette

Search for a command to run...

🔥Day14#90daysDevops Challenge

Published
2 min readView as Markdown
🔥Day14#90daysDevops Challenge

🔥Day14#90daysDevops Challenge

Tasks

  1. Give the Difference between List, Tuple and set. Do Handson and put screenshots as per your understanding.

    | LIST | TUPLE | SETS | | --- | --- | --- | | Lists are mutable, which means you can add, remove or modify elements | Tuples are immutable, which means you cannot change their content. | Sets are mutable, which means you can add or remove elements | | Lists are ordered, meaning they maintain the order of elements based on their index. | Tuples are ordered, just like lists, maintaining the order of elements. | Sets are unordered, meaning they do not guarantee any specific order of elements. | | Lists can contain duplicate elements. | Tuples can also contain duplicate elements. | Sets do not allow duplicate elements; each element in a set is unique. |


2 . Create the below Dictionary and use Dictionary methods to print your favourite tool just by using the keys of the Dictionary.

fav_tools =
{
  1: "Linux",
  2: "Git",
  3: "Docker",
  4: "Kubernetes",
  5: "Terraform",
  6: "Ansible",
  7: "Chef"
}


  1. Create a List of cloud service providers e.g......
cloud_providers = ["AWS", "GCP", "Azure"]

Write a program to add Digital Ocean to the list of providers and sort the list in alphabetical order.


More from this blog

Untitled Publication

27 posts