Advertisement
KodingKid

How to use Len in Python - Basic Scripting #29

Jun 23rd, 2021
253
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.12 KB | None | 0 0
  1. howmanyarray = ["how", "many", "words", "are", "in", "this", "array"]
  2. answer = len(howmanyarray)
  3. print(answer) #outputs 7
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement