Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
bebe de goat et pierre solution in Creative category for Length of the String by pigo
def string_length(text: str) -> int:
# your code here
cpt=0
for i in range(len(text)):
cpt+=1
return cpt
print("Example:")
print(string_length("Hi"))
assert string_length("hi") == 2
assert string_length("CheckiO") == 7
assert string_length("") == 0
print("The first mission is done! Click 'Check' to earn cool rewards!")
May 31, 2022