Week 0 - Python Introduction
Week 0 - Python Introduction
Python dapat ditulis dan diinterpretasikan sama seperti bahasa sehari-hari manusia, sehingga
mudah dibaca dan dipelajari oleh pemula. Anda dapat merancang alur program dalam bahasa
manusia dan mengubahnya ke kode Python yang sebenarnya dengan sangat mudah.
Mengapa Python Begitu Terkenal? ( Industry Use )
Python tidak hanya diminati di bidang pendidikan tetapi juga oleh banyak developer di Perusahaan
ternama, termasuk Google, Intel, eBay, Netflix, Instagram, Dropbox, dan Slack, menggunakan Python untuk
mengembangkan dan memelihara aplikasi mereka
Python memiliki berbagai library dan tools, seperti pandas, NumPy, SciPy, Matplotlib, TensorFlow, dan Keras,
yang dapat digunakan secara luas di berbagai bidang seperti pengembangan web, analisis data, dan
kecerdasan buatan ( Artificial Intelligence )
https://www.programiz.com/python-programming/online-compiler/ https://replit.com/~
Python Use Case
Vision Related AI-IoT
Qlue Thermal
AI-IoT Device for detecting user’s temperature and mask. Included features such as face detection, face recognition, mask detection
combined with infrared temperature scanner and edge computing.
Vision Related AI-IoT
Smart Speaker
Combination of Vision AI and Speaker with Smart Controller for actuate warning message via the speaker when a vehicle is illegally parked. Incl
features such as vehicle plate recognition, vehicle dwelling recognition integrated with the speaker to actuate text to speech system.
Speech Recognition
Speech Recognition
Marker Detection is utilizing Camera and AI to estimate the location of an object in respect to the robot’s current position. This is used for the ro
charging station automatically when the battery is running out.
Routing Optimization
By utilizing the Google open source Routing SDK and API, the routing optimization project is used for automatically assign fleet and destination
most optimum order. This involves guaranteeing timely deliveries, maximizing the use of resources, and implementing most cost-efficient metho
Python 101
Python Data Type Basics
Variable Declaration
● b = “joshua” → string
● x,y = 12,13 → integer
● sebuah_tuple = (1,2,3) → tuple
● a=b=c=[1,2,3] → lists
Variable Declaration Rules!!!
● Identifier dapat berupa kombinasi huruf atau angka atau garis bawah (_), tetapi tidak
dapat terdiri dari simbol khusus apa pun.
● Identifier tidak dapat dimulai dengan angka.
● Identifier tidak boleh berisi spasi atau tab.
● Identifier peka terhadap huruf besar dan kecil. Oleh karena itu, variabel index dan INDEX
adalah variabel yang berbeda.
● Identifier tidak dapat menggunakan salah satu dari Python Reserved Words.
Print Function and Comments
● Comments berguna sebagai penanda bahwa perintah tersebut tidak dieksekusi oleh
program
○ Comment dapat dilakukan dengan
■ # untuk meng-comment 1 line
■ “”” untuk comment beberapa line code
Comparison Operator
Arithmetic Operator
Q&A