You can edit the data_types_practice.py file using a text editor available in your terminal. Here are two common options:
-
Using Nano:
nano ~/project/data_types_practice.py- This command opens the file in the Nano text editor. You can make your changes and then save them by pressing
CTRL + O, followed byEnter, and exit withCTRL + X.
- This command opens the file in the Nano text editor. You can make your changes and then save them by pressing
-
Using Vim:
vim ~/project/data_types_practice.py- This command opens the file in the Vim text editor. To edit, press
ito enter insert mode, make your changes, then pressESC, type:wq, and hitEnterto save and exit.
- This command opens the file in the Vim text editor. To edit, press
Choose the editor you are most comfortable with! If you need further assistance, let me know!
