- 1). Type the following in your Python program: D = {"k1":"string", "k2":123}. Instead of "string" and 123, you can use any value you would like. Strings, integers and other dictionary variables will all work.
- 2). Type the following to modify one of the values in your dictionary: D{"k1"} = "different". Once again, you can use any value you would like to replace the existing value. This will create a new key-value pair.
- 3). Type the following to delete a key-value pair from your dictionary: del D{"k1"}.
Tags
PHP
Programming
C C++
ASP
Development Tools
Ajax
XML
Javascript
Python
VB
VC
perl
dephi
Ruby
sql
technology
Microsoft Access
Excel
ffice
Powerpoint
Word
Oracle
Related Posts "Technology"
-
SPAwebsolutions Ensure Transform An Standard E-Store To An Excellent One
7/11/2019 8:41:00 AM -
IPraxa Offers Experience Letter on Completion of 3 Months Workshop
7/11/2019 4:43:00 AM -
Things to Consider before Outsourcing to a Web Design Company
7/11/2019 3:52:00 AM -
Great Quality Courtroom Shoes Can Enrich Your Functionality
7/11/2019 2:28:00 AM
You might also like on "Technology"
How to Split a String in JavaScript
7/10/2019 5:52:00 PM
Understanding Needs before Hiring a Programmer
7/10/2019 4:45:00 PM
Are you getting what exactly you expect from your web development services?
7/10/2019 3:40:00 PM
How to Find the Perfect Web Design Company Canada
7/10/2019 10:38:00 AM
impresion de afiches
7/10/2019 8:46:00 AM
We Have All of the Restoration Parts You Need for Your 69 Chevelle
7/9/2019 11:58:00 PM
X-cart developer: The key to successful online store
7/9/2019 7:54:00 PM
Getting Ideas For Running A Successful Web Design Business
7/9/2019 7:07:00 PM
Which Variable Data Types Are Stored in Sequential Order in Visual Basic?
7/9/2019 6:38:00 PM
Let’S Understand the Importance of Website Design.
7/8/2019 5:11:00 PM
Four Steps To Make A Website Visible On The Internet
7/8/2019 4:19:00 PM