Skip to content

Commit 4b1d4cf

Browse files
authored
Update README.md
1 parent caea552 commit 4b1d4cf

File tree

1 file changed

+24
-7
lines changed

1 file changed

+24
-7
lines changed

README.md

Lines changed: 24 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,30 @@
1-
## Arrays_Utilities-base
1+
# Arrays_Utilities-base
22
A library created by Nicolás Santísima Trinidad Santín
33

44
I know that working with arrays in python is so hard, so I made a library to make easier this work.
55

66
I present you my new library called "Array_utilities-base"! A library made in pure python to work with arrays and lists. Now, you're not going to spend a lot of time to (for example) search a element in a list!
77

8-
Commands:
9-
- [] __getInfoLocalArray__(Array): Get information about an array (this command has got this symbol = _ in the two sizes)
10-
- [] delete(number, Array): Delete an element of an array
11-
- [] show(Array): Print an array in a terminal
12-
- [] search(Array,searching): Search if an element is in an array (if yes return true else return false, use it with a print or a bool type variable)
13-
- [] getIdentification(Array, Object): Get the position of an element in a array
8+
*Commands:*
9+
- `__getInfoLocalArray__(Array)`: Get information about an array
10+
- `delete(number, Array)`: Delete an element of an array
11+
- `show(Array)`: Print an array in a terminal
12+
- `search(Array,searching)`: Search if an element is in an array (if yes return true else return false, use it with a print or a bool type variable)
13+
- `getIdentification(Array, Object)`: Get the position of an element in a array
14+
15+
## Example
16+
17+
~~~python
18+
#/bin/python3
19+
20+
import functions
21+
22+
array = ['hello','world']
23+
24+
def isanelement(element):
25+
return search(array, element)
26+
27+
print(isanelement('hello'))
28+
29+
show(array)
30+
~~~

0 commit comments

Comments
 (0)