Quotes help make search much faster. Example: "Practice Makes Perfect"

Saturday, December 8, 2012

LearnStreet Python Lesson 5 Exercise 8


#sample solution


def checkLen():
    str = "Ninja Coder!"
    flag = True
    while flag:
        count = 0
        for char in str:# your code here
            # your code here
            count += 1
            if len(str) == count:# your code here
                # your code here
                print "done"
                flag = False
            else:
                # your code here
                print "not yet done"
checkLen()

No comments:

Post a Comment


This is an example of scrolling text using Javascript.

Popular Posts