25 پاسخ به “لک 4 | MIT 6.00 مقدمه ای در علوم کامپیوتر و برنامه نویسی ، پاییز 2008”

  1. I get that he was using it to teach a concept, but wouldn't it be easier to use something like this to check if it's a palindrome?

    word = input()
    if word == word[::-1] :
    print("Word is a palindrome")
    else:
    print("Word is not a palindrome")

  2. I was going along fine but this lecture tripped me up. Pigs and Chickens-how hard could that be?- well, I don't get it. could someone explain how and why this code was structured? and/or do I need to understand these mechanics to move forward?…

  3. V good but needs a health warning "course based on Python 2.5.4" as a beginner trying to follow along in Python 3.6 will stumble. Update: this course is also available for Python 3.5, see the link in the reply below, its 720p, excellent…

نظرات بسته شده اند.