Test

Sliding presentation

laurent

Lesson 3

Today's class

We will keep working with english to python translation, and we will review the idea of python object.

Python and other foreign languages:…

Full stops “.” and “。”

In English and spanish a normal sentence ends with a full stop “.”, while in Chinese and Japanese we use “。”

  • 👦 💘 🍔 .
  • He likes burger.
  • 他喜欢汉堡包。

Question mark “?”

In English, Chinese and Japanese we use “?” in order to indicate a question:

  • 👦 💘 🍔 ?
  • He likes burger?
  • 他喜欢汉堡包吗?

Well in Spanish we use 2 “?” to indicate a question:

  • ¿ 👦 💘 🍔 ?

Simple sentence pattern: Subject+Verb+Complement

In English, Chinese and Spanish follow a simple Subject+Verb+Object pattern.

  • 👦 💘 🍔 .
  • He likes burger.
  • 他喜欢汉堡包。

In Japanese the ordering is different, it is: complement + subject + verb ! How interesting!

  • 日语:🍔 + 👦 + 💘.

Differences between English and Python English

Giving a command! Come here! come(here)

English Python English
come! come()
run! run()
eat your plate! eat(your_plate)
eat your pastas! eat(your_pastas)
say hi! say(hi)
say "hi"! say("hi")

Heading

Some contents.

Enter speaker notes here.

  • With bullet points
    • If necessary

The panda's ball! panda.ball

English Python English
panda's ball panda.ball
jason's father jason.father
matoom's bike matoom.bike
the bike of matoom matoom.bike
the bike of jason's father matoom.dad.bike

homework White-board

Put the whiteboard below fullscreen. If somehow you do not see anything within the whiteboard please try to access it directly: https://awwapp.com/b/u9x6u2rqnwcv6/

Homework

Please fill in the table below.

ENGLISH PYTHON ENGLISH
run!
jump()
walk slowly! walk(slowly)
walk faster! walker(faster)
come!
write()
write("hello")
say "hi!"
say "thank you Dad!"
say("pleased to meet you.")
jasmine's bike
the bike of Jasmine
the dad of Matoom
jason.mother
mike.age
the age of jason
mike.age = 11
jason.mother.age
jason.mother.age = 30

White-board 白板区

As usual we have a whiteboard, go to page 9 or the whiteboard Either draw here or go to https://awwapp.com/b/u4r84anbireo8/

Reading area

When we talk about coding we use specific terms (function, data types, boolean, integers etc…). It is important that you pronounce those words properly (你的发音提高的话你的听力也会提高,而上课的时候听力至关重要), so visit this reading area as often as you can!

A computer is a machine that can STORE and PROCESS data. Python basic data types are: booleans, strings, integers, floats, lists and dictionaries. Envelope, letter, standard input, standard output, standard error, machine language, natural language etc

Chrome Browser

Click on the microphone icon and begin speaking for as long as you like.

Press Control-C to copy text.

(Command-C on Mac.)

Text sent to default email application.

(See chrome://settings/handlers to change.)

  

填空

insert the missing part of the code below to output "Hello World": ____("Hello world") Restaurants must be able to STORE food & PROCESS/COOK it. A storage space full of food is not a restaurant.

Chit-chat 聊天区

You want to chat with Python? Do it here!

Writing Letter

If you want to write letter to python here!

Let's code together live with Visual Studio

Blocks

iframe loca videos

testing

Enter speaker notes here.

there is a note, can you make it pop? vb

// reveal.js plugins