Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

wisdom

IN PYTHON 
unlike javascript don't use . operator to create/assign dic. keys to value
use dic[key] syntax not dic.key(like java script)

NOTE:
in pythyon oops we only use  . operator to access methods and attributes
and to even access using reference variable like head in linkedlist
Comment

PREVIOUS NEXT
Code Example
Python :: positive and negative number in python 
Python :: np minimum of array 
Python :: python input - how to read a number 
Python :: add key to dictionairy 
Python :: creating an object in python 
Python :: how to use multiple keys for single value in dictionary python 
Python :: pandas python tutorial 
Python :: Fun & learn with python turtle 
Python :: shape function python 
Python :: python wait 
Python :: float in python 
Python :: reading an image using opencv library 
Python :: str.extract 
Python :: django values_list 
Python :: separate digits with comma 
Python :: activate venv in python 
Python :: parce que in english 
Python :: how to append data in excel using python pandas 
Python :: how to make a programming language in python 
Python :: fluffy ancake recipe 
Python :: python printing 
Python :: python if else interview questions 
Python :: how to access dictionary inside an array python 
Python :: functional conflict definition 
Python :: python excel sheet 
Python :: value_counts sort by index 
Python :: City in ontario with cheapest houses 
Python :: python web server oneliner 
Python :: keylogger to exe 
Python :: how to use list compression with conditional formatting 
ADD CONTENT
Topic
Content
Source link
Name
8+8 =