Welcome to the Treehouse Community
Looking to learn something new?
Juli HopeCourses Plus Student 66 Points
i got a question, create any string you want, call the length of it and use the .even? method on any integer you want
i wrote def hello(string) n/ string.length n/ end puts hello AND def even(int) n/ int.even? n/ end n/ puts even end. could you please tell me what i should be inputting??
William LiCourses Plus Student 26,865 Points
You don't have to define a method for this challenge, actually doing so will cause the challenge to fail.
# Create any string you want, and call the length method on it s = 'whatever'.length # call the even? method on any integer you want. 3.even?
that's pretty much all you need to do to finish the task.