[go: nahoru, domu]

Skip to content

Commit

Permalink
Updated
Browse files Browse the repository at this point in the history
  • Loading branch information
theja-m committed Aug 11, 2020
1 parent b47a99a commit ad76e7f
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Data Structures - Arrays/Implementing an array.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class MyArray:
class Array:
def __init__(self):
self.length=0
self.data={}
Expand Down Expand Up @@ -28,11 +28,7 @@ def delete(self,index):
self.length-=1
return deleteditem





arr=MyArray()
arr=Array()
arr.push(3)
arr.push('hi')
arr.push(34)
Expand Down

0 comments on commit ad76e7f

Please sign in to comment.