Frog frog recommendation: outline of the first Programming Course

Source: Internet
Author: User

I want to introduce programming to children's shoes that are not programmed and outline them. Can you see if they are suitable?

 

Introduction to programming in the first Programming Course
    1. What is programming: source code becomesProgram
    2. Why Python: easy to get started
    3. Install Python: 2.7
First Program
    1. Print "Hello word"
    2. Input: raw_input
    3. Output: Print
      1. Name = raw_input ("What's your name? ")
      2. Print "hello", name
Second Program
    1. Arithmetic Operation (100 + 40)/32-(4* 2)
Data Type
    1. Variable
    2. Number: 1, 2.3,-18
    3. String: "float cloud", "God"
    4. List: [1, 2, 4]
Third Program
    1. Randomly select a role from Three Kingdoms
    2. There is a list: ["Guan Yu", "Zhang Fei", "Zhao Yun", "Lu Bu"]
    3. Random
Programming Elements
    1. If: logical judgment
    2. Function: abstract a function.
    3. Module: organizes functions.
    4. Objects: People with arm and legs can walk and eat
Fourth Program
    1. Greet you according to the current time
      1. Get current time
      2. If the current time is 0-12, Good moning is output.
      3. If the current time is 12-18, the output is good afternoon.
      4. If the current time is, the output is good evening.
Learn to use networks to solve problems
    1. Search for a wall first: goagent
    2. Google preferred
    3. Blog Bo Q, csdn Forum: how to ask questions
    4. Ask questions via email. Try not to use IM
Job
    1. Select one
      1. How many meters are input per second and how many kilometers are output per hour
      2. How long does it take for you to calculate the height to the ground? On the moon?
      3. Enter a piece of text, and the number of outputs is case-insensitive.
      4. Enter a month and the number of days of the month, regardless of the leap year.

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.