ILT Tech #1: Introduction to Python & Git/Github

ILT Tech #1: Introduction to Python & Git/Github

[print('Never stop learning') for i in range(100)]

What is Python?

  • 4 basic data types in python including string, integer, float, and boolean
  • A great variable is clear, not the keyword, and can be made with letters, numbers, and underscore.
  • Most used operators are arithmetic, Assignment, Comparison, Logical, Membership (in or not in)
  • if statement can be run only if the condition is true and can be combined with elif and else
  • loops (while or for) always run the instruction when the condition is True



Basic Learning about Data Structures in Python

  • List using [ ] and can be changed
  • Tuple using {} and cannot be changed
  • Dictionary using {key:value} and can be changed


Take a glance about Git

  • Git is a version control and saves all your history changes
  • Has a simple yet complicated workflow [working tree -> ($git add) staging area ($git commit) -> git directory]
  • Git has branch and you can used to modify the code without affects the main code
  • Merging is term to combine branch with main


Collaboration with Github

  • Github is git web-based and very suitable for collaboration
  • Has a simple yet complicated workflow [git clone from github to local then git push to remote from local]
  • Meanwhile in collaboration, there is a term called fork


Thank you Angela, for sharing your learning insight 😊

Like
Reply

To view or add a comment, sign in

More articles by Angela L.

Explore content categories