Python

Tonight after doing some JavaScript I turned my attention to Python.
Python will be taught to us in the IoT field module and I wanted a basic understanding of the syntax before attending the session tomorrow.
I have learnt how to use :

Variables, which store values for later use.

Data types, such as numbers and booleans.

Whitespace, which separates statements.

Comments, which make your code easier to read.

Arithmetic operations, including +, -, *, /, **, and %.

I have been learning this basic level of Python on code academy a free coding education organisation and site. The lesson I have done ended with a work through of working out a restaurant tip coding using mathematical expressions.

 

Advertisements


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s