ASN2

Let's Become Pythonic!


Deadline


Feb 14, 2022 at 11:59:59 PM (Individual Submissions).



What you need to do?


Intelligence in robots is generally performed in-terms of a computer program or code. One of the most common languages to program robots has been Python due to it's ease of use and learnability. In order to facilitate building autonomous robots, we'll first learn the basics of Python through a set of small yet fun tasks.

Step 0: Find Your Favorite IDE/Editor


Before you run your code to do something cool, you need a place to write your programs/code in. This is called an Editor or an Integrated Development Environment (IDE). There are a lot of amazing editors/IDEs around developed by the amazing community of developers. Each of these tools have their own great set of features and visual appeal. To a large extent the choice of the IDE/Editor also comes down to personal preference. Currently, most common choices for Python are Sublime Text, Atom, PyCharm, Visual Studio Code, Jupyter Notebook. Other super popular editors that have a steep learning curve are Emacs (I personally use this!) and Vim (A lot of my graduate students use this). Now, that you have found your favorite editor, install it by following the instructions on their respective websites for your particular operating system. I would recommend using a dark theme so that programming is easy on your eyes for working long periods.

Step 1: Let's Learn Numpy


Your task it to implement the following using only Numpy and built-in Python data-structures.


Step 2: Let's Learn Python




What you need to submit?


A .zip file that has a document (feel free to use Word or Google Docs or any other software for this) converted to PDF with the following answers and required codes as mentioned below:

IMPORTANT NOTE: The submissions are made through ELMS with the name ASN2_DirID.pdf. Here, DirID is your directory ID, i.e., the first part of your terpmail email address. For e.g., if your terpmail email address is ABCD@terpmail.umd.edu, then your DirID is ABCD. Keep your submissions professional, grammatically correct without spelling mistakes. Do not use slangs and chat shorthands on your submissions. You'll get 25% grade penalty for not following the submission guidelines.