Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def length(s): # function define
- count = 0
- for c in s:
- count += 1
- return count
- str = '081234'
- size = length(str)
- print(size)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement