---
# System prepended metadata

title: WEEK FOUR

---

Week four becomes more interesting, diving deepp into undertanding vim commonds and lot more. The more deeper we go the more complex it becomes.

It never cross my mind why VIM in the first place, but then week  four answer my ignorance as well as giving more understanding.

WHY VIM: 
vim is an improve version of vi,  which are both visual Editor, which help us with:
*Understand syntax.
*One of the most important reason for vim is to denied the usage of Mouse.

Vim has different mode and these mode includes
Normal Mode(Navigation)
Insert Mode
Command Mode
Command line Mode
Visual Mode
![Screenshot from 2025-07-03 11-49-41](https://hackmd.io/_uploads/HkzGW14Sll.png)
To go to vim docs
type vim
:help
and you will get the docs on vim.
The image above shows the different mode of vim

Normal mode is seen as the nagivation mode, which help user to move from one mode to another. that is, you cannot navigate to any other mode without going back to normal mode. Opening vim by default is in normal mode.

visual mode help you to execute commands like;  y (yanke) which mean copy and p (put) and also know as paste and lots more.

command line mode help users to put to use the command for vim  and is done by going back to normal, press shift with semi-colon (:) then your commands follows.


These are some of the command execute in vim and these are;

-edit: help you to create a new file
-Set number: number your line of code
-sort ui: Arrange either characters or numbers serially.
-Split: divide your work space, you can either make it vertically or horizontally. by default is horizontal but you can make it vertical, by using vsplit(vertical split).and other more.

u- undo
k- scrolling up
J- scrolling down
l- right
h- left

Macro is a program that help one to record a section that help you execute to others
![Screenshot from 2025-07-05 14-03-53](https://hackmd.io/_uploads/BJW5zEvrxg.png)


The image above shows the record of section, changing the first of each character to upperCase, and restructuring the list by adding Name, pipe and as well Age. Making the list clean and readable. These are the following commands

Step 1:  On normal mode to set your record click (qa)
Step 2: After setting your record effect your changes
Step 3: After finished your recording, quite your recording by clicking (q)
Step 4: On normal mode, play the recording by passing the range (2,6), (normal ) and your recording name, for this recording (@a).
 We were Introduced to our first Programming Language,  call Python. We learn that python is an interpreted language and is the easiest and beginners friendly compare to other programming language like Rust, C  among others.

**WHAT IS THE PYTHON USE FOR;**
Python as a language is king when its come to AI, other aspect are Data Analysis, Games, Robotics and web application(website) but then you will  use frameworks like Django.

Moreso, Python as language can be use in two ways;
-Interactive mode 
-Script  mode
![Screenshot from 2025-07-06 00-45-14](https://hackmd.io/_uploads/rys8KNPHlg.png)

The image interactive mode is where users play around most especially arithmetic. That is; it serve as calculator and lastly you cant save   your work from interactive mode.
![Screenshot from 2025-07-06 01-04-17](https://hackmd.io/_uploads/rkFjTVwSxe.png)

While the script mode is where python code are written and execute. The file extension for python is  py.
![Screenshot from 2025-07-06 01-03-37](https://hackmd.io/_uploads/rkUaT4DSeg.png)
Moreso, in script, you can save your file and can execute it as well
Lastly i learne the type of data in python and these are;

1. String(str)
2. Integer(int)
3. floating number(float)
4. list
5. Dictionary
6. set

By default, all input we recieved are string, untill specifies that type of data. for example;
![Screenshot from 2025-07-06 14-16-49](https://hackmd.io/_uploads/BJ7xdgOSxe.png)
The image above is the demonstration that every data receive in python be default is a string. below is the output.
![Screenshot from 2025-07-06 14-18-41](https://hackmd.io/_uploads/HJdKdxdBeg.png)
The six data listed above are display but then all they are strin.

**Conclusion**

its been an interesting Journey so far at Blockfuse Labs with well experience tutors as well, Even though there is difficulty in comprehension, but the effort the tutors put in teaching, its really encouraging and made learning seamless.


