Answers for "data structures in python"

3

data structures and algorithms in python

great course, highly recommended !

"https://www.udemy.com/course/algorithms-and-data-structures-in-python/"
Posted by: Guest on August-23-2020
12

python data structures

#string
string = 'Hi my name is Dr.Hippo'
#integer(whole number)
integer = 12345
#floating point number
fl = 123.456
#list
li = [1,2,3,,'string',None]
#boolean
t = True
f = False
#none(equivalent to null or undefined in other languages)
n = None
#dictionary
dictionary = {'key':'value'}
Posted by: Guest on April-17-2020
3

python data structures

list = [same as array with different features] 
array = [23, 'arrayItem', True, ['Hi', 34, False] ]
dictionary = {'key' : 'value'}
object = class testObj:
tuple = ( "a", "b", "c", "d" ); #same as list but non-changable
Posted by: Guest on May-08-2021

Code answers related to "data structures in python"

Python Answers by Framework

Browse Popular Code Answers by Language