Python Dictionary( Part I )

Photo by Albuu Design de Álbuns on Unsplash
  • d1.get( ‘key_name’ )
  • d1[ ‘key_name’ ]
student_1.get('fees',0) + student_2.get('fees',0)

--

--

--

Smart and Simple Solutions.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Substrate based 2D barcode scanner Pallet in Rust

A Non-Intrusive Transaction Management Lib in Go — How it Works?

Making a full-fledged loader, display to removal

Ingress in Kubernetes

Mediapipe: Hand gesture-based volume controller in Python w/o GPU

Flex Box

Software Development Trends in 2021

Collections module in Python

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Vivek Nikam and Abhay Chaudhari

Vivek Nikam and Abhay Chaudhari

Smart and Simple Solutions.

More from Medium

Domain Generalisation

Upskill Us for 5ire in Minitab + Python

A brief about pycache and it’s purpose

All about Python