DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
tuple methods in python
# Creating a tuple using () t = (1, 2, 4, 5, 4, 1, 2,1 ,1) print(t.count(1)) print(t.index(5))
Source by codefreelance.net #
PREVIOUS
NEXT
Tagged:
#tuple
#methods
#python
ADD COMMENT
Topic
COMMENT
Name
8+6 =
Submit