learning Python (p2)

So today i’ve learned to write some brainless simple codes to do basic calculations & print out the results, exactly how i started with Java years ago.

1

Obviously i’m struggling with getting used to this new language, the terms and definitions, the syntax and strict indentation, all and all. You can see below i made quite a lot of mistakes repeatedly.

1. “=” is to assign, not to define as “equal”. I know about this but somehow when i first wrote the expression, it just came out as i conventionally think how the sign is used 😛
2. there’s always “:” for “if”
3. there’s a tab after “…”, before “print”
4. not equal is “!=”, not “=!” LOL.

2

This soooo reminds me of how i started picking up English as a new language. I used to write 1 single word for 9347384729 times on papers to memorize just the spelling. In a good way, this similar learning and practice now is training me to be more patient and meticulous. 😀

Okay, long day and I’m already tired. To be continued tomorrow, May Day 2013 = Python Day.

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