How To: Use tuples and dictionaries when programming in Python

Use tuples and dictionaries when programming in Python

A tuple's value cannot be changed at all within your Python-based program, whereas a dictionary is more like an associative array where every item has a key and a value. Here is how you can use both tuples and dictionaries within your Python program.

Get the Gadget Hacks Daily

Life hacks for your smartphone.

Be the First to Comment

Share Your Thoughts

  • Hot
  • Latest