mirror of
https://github.com/Asabeneh/30-Days-Of-Python.git
synced 2026-06-12 21:01:48 +08:00
some changes
This commit is contained in:
parent
4e96dca86d
commit
77e0f2db27
14
readme.md
14
readme.md
@ -146,22 +146,14 @@ python
|
||||

|
||||
|
||||
The Python interactive shell is opened and it is waiting for you to write Python code(Python script). You will write your Python script next to this symbol >>> and then click Enter.
|
||||
Let us write our very first script on the Python scripting shell.
|
||||
|
||||
```py
|
||||
asabeneh@Asabeneh:~$ python --version
|
||||
Python 3.9.6
|
||||
```
|
||||

|
||||
|
||||
Well done, you wrote your first Python script on Python interactive shell. How do we close the Python interactive shell ?
|
||||
To close the shell, next to this symbol >> write **exit()** command and press Enter.
|
||||
|
||||
```py
|
||||
asabeneh@Asabeneh:~$ python
|
||||
Python 3.9.6 (default, Jun 28 2021, 15:26:21)
|
||||
[Clang 11.0.0 (clang-1100.0.33.8)] on darwin
|
||||
Type "help", "copyright", "credits" or "license" for more information.
|
||||
>>> |
|
||||
```
|
||||

|
||||
|
||||
Now, you know how to open the Python interactive shell and how to exit from it.
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user