Skip to content

Latest commit

History

22 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Mutable and Immutable

There are 8 variables of different data types in the main module.

Your task is to create dictionary sorted_variables with two keys: "mutable" and "immutable". Each value should be equal to a list that contains all variables of corresponding type.

Example with other variables:

a=123b= []
c="Hi!"d= [1, 2]
sorted_variables= {
"mutable": [b, d],
"immutable": [a, c]
}

About

No description, website, or topics provided.

Resources

Stars

6 stars

Watchers

6 watching

Forks

Releases

Packages

Used by

Contributors

Languages