MY TECH WORLD JOURNEY PART4**** Due to our inability to impress blockfuse lab engineers during the previous week eviction test, we were pardorned and compelled to make it to classes everyday in our week four, which is to serve as punishment for not meeting up Kickstarting monday, our instructor mr. Dimka route us into the concept of VIM, among other editors as; Notepad, VSCode, Sublime, Nano, Emacs, etc. What basically the vim does and its different features or modes in Vim VIM Modes: Normal mode Insert Mode Command Mode Command Line Mode Insert mode has several keys assigned to prompt it. They include, the "i", "o", "a", "s" and "insert" key. Also that the insert mode allows you to edit. the escape key takes you back to the normal mode. The normal mode does not take alphabets, but commands, and must usually start with the ":" the colon. some shortcuts in Vim include; x - to delete dd - to delete an entire line dw to delete a word y - to yank or copy p - to put or paste and that one must change to visual mode (by pressing the V button while in normal mode) before he can highlight a text or texts for copying(yanking) so many things according to our instructor can be done with the vim, that one can execute a bash script here without going back to the terminal, and one can as well create a file using the vim directly. The concept "buffers" was introduced, to check the number of files one is currently working on, or files currently open. and one can use, bn for nextfile, bp, for previous file. In short, buffers keep trak of files you are working on. we were taught how to slplit screen so that one can work on more that a file at a time too. that vsplit and file name will split your screen vertically. These and many other things were dealth with. Following Day, we were introduced to "Macro" we were cautioned and higlighted that some commands wre not actually inbuilt in vim, so that the "!" must always coem before our execution for commands that are not inbuilt on vim. That Macros is basically a feature that allows you to record a sequence of commands or keystrokes then you use the recorded sequence to perform a given task. macro commands include; qa - to enter recording mode(recording @a, one can record at diffrent locations) r - to replace a character f - to find a character q - to exit recording mode gUl - to capitalise a highlighted character INTRODUCTION TO PYTHON The first programming language to be learnt was introduced, with our knowledge of bashscript, python wasnt uspposed to be difficult. That Python is an interpreted language (which means it execute codes line by line). Knowing fully well the diffrence between high and low level computer languages, python fell under the high level langauge. In high level languages the computer makes programming easier for you while in low level languages, the programmer is required to specify every input. python can and has been applied to several things such as, Robotics, AI, web and app development. also its the main language used to build AI. Python modes: Interactive mode Script mode To enter interactive mode, use "python3". Interactive mode doesn't allow you to save your input or activity on it. To exit interactive mode, use "Ctrl + d" keys. interactive mode can be used to perform simple functions like simple arithmetic. for addition; first_number = 50 second_number = 32 sum = first_number + second_number sum 82 for subtraction; first_number = 67 second_number = 47 sub = first_number - second_number sub 20 for multiplication; first_number = 30 second_number = 20 mul = first_number * second_number mul 600 Statistically typed languages require you to specify the type of variable youre inputting while dynamically typed languages dont… python is a dynamically typed language. We were told that Variables are memory locations that store values. Eg. user_name = plangs. the user_name is the variable, and the plangs is the value Day 4: Formatting We were taught that there are different valid formats to specify variables. and every other format is invalid. valid formats; Snake case - words separated by underscores eg. first_number Pascal case first letter of every word capitalised eg. FirstNumber Camel case - first letter of the first word in lower case, while the rest have their first letyers in uppercase eg. firstNumber To declare a variable, it needs to have three parts; The variable name, the assignment operator and the value. eg; firstName = plangz where "firstName" is the variable "=" is the assignment operator "Plangz" is the value Data types in python includes; str - string Sequences of characters enclosed in single or double quotes (e.g., "Hi", 'Cobra' int - integer Whole numbers, positive or negative, without a decimal point e.g., 1, -100 for values like age, number of cars, etc. float - Real numbers with a decimal point e.g., 4.19, -0.7 for values like height, weight etc list - Ordered, mutable collections of items, enclosed in square brackets e.g., [kasongo, "santa", 30.19] Booleans depicts usually either True or False, yes or no, male or female. dict - Dictionaries Unordered collections of data in key-value pairs, enclosed in curly braces e.g., {"talatu": zakaria", "doshima"} Writing a clean python code was one amongst the includes of zen of python highlights. On day 5, the instructor made us to understand there's a new directive from head to ensure that Friday's will always be hands-on days. Such that we'll practice all through what we've been taught all week. While we were practicing python we learn over the week, boss longs and Other instructors came around to cheer us up unknowingly, we were about to be cooked. The eviction Test whining our brains, with a bash script question and to be writing on paper which exposed weaknesses of must students who can't do nothing without depending on their systems. Few people passed tho. Conclusion The week was fun filled. Stressful especially timing and overwhelming hands on deck, and a selfless instructor like Dimka pouring out himself on us was something to always look out for. God's willing, I'm progressing, learning bit by bit. At least I now know every python files ends with .py and hell lot on python. Daring myself to improve by all means and to neversettle.