// // Write a function that takes a string and returns its length without using built in properties (such as .length or .size()). //
Anonymous
in ruby: b=str.split("") c= 0 b.each do |t| c += 1 end puts c in python: c = 0 for i in len(str): c += 1 print(c)
Check out your Company Bowl for anonymous work chats.