Recreating a len() Function

Published by Joshua Señoron in

Create a function which returns the length of a string, without using len().

Examples

length("Hello World") ➞ 11

length("Edabit") ➞ 6

length("wash your hands!") ➞ 16

Notes

N/A

Watch a quick demo on how Edabit works.