Day 2 Stupid Methodology python

Source: Internet
Author: User

Hand hit the 25th exercise, where the error is:

def definition after indent 4 spaces, the first line is empty, the direct line is to follow the face of it, but the runtime is wrong, my solution is, re-manual space 4;

Also found a problem is that the Chinese explanation, before always wrong

# -*-coding:utf-8-*-

See on the Internet Plus this can be, but I still made mistakes. I found the answer today by chance on GitHub, a http://www.cnblogs.com/xueweihan/blog.

# Coding:utf-8

Change to this statement. After that, try to add a note to each sentence to deepen your understanding.

Also found that he took the stupid method of Python, all the code on GitHub, and later he also tried to speed up progress, slowly learning to put their own code on GitHub, are the latest contact, the specific haven't learned how to do, blog is, how to add fork Me on GitHub link , in short, there is a harvest, but the progress is too slow.

Day 2 Stupid Methodology python

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.