-
Notifications
You must be signed in to change notification settings - Fork 0
Prime #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prime #2
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| print("Hello world") |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| To install Python go to https://www.python.org/downloads/ then download the latest version. <Python3> | ||
| make sure that check " add Python 3.8 to path " for easier installation. | ||
|
|
||
| #Python Interpreter (Compiler) | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. While CPython (the most common Python implementation) does compile source code to bytecode before execution, referring to the core tool simply as a "Compiler" can be a bit misleading for beginners, especially when comparing Python to languages like C++ or Java where the compilation step is more distinct and produces machine code. "Interpreter" is generally the more common and accurate term used when describing how Python executes code from a user's perspective. Would it be clearer to primarily refer to it as the "Python Interpreter" here? |
||
| A Python interpreter is a program that executes Python codes. | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| # What is Python? | ||
| Ans: Python is the one of the most popular programming language created by Guido van Rossum and its was first implemented in 1989. | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There are a couple of grammatical points here:
Could you update this sentence for grammatical correctness? |
||
| #What is Python used for ? | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There's a missing space after the Could this be formatted as |
||
| Ans: 1)Web Devlopment | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| 2)Machine Learning | ||
| 3)Data Science | ||
| 4)Scripting | ||
| And Many more... | ||
| #What is the latest version of Python / | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| Ans : Python 3 is the latest version of Python. | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| Understanding of the Python programming language from basics to advanced. | ||
|
|
||
| Python Prerequisites : | ||
| 1)Computer basics. | ||
| 2)knowledge of installing a software .<vscode> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| 3)A Compiler | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -1 +1,5 @@ | ||||||||||||||
| # myfirstp | ||||||||||||||
| # Getting Started | ||||||||||||||
| Beginning my coding journey via GitHub. | ||||||||||||||
| By Creating new Repository | ||||||||||||||
| through Pull and push request | ||||||||||||||
| and commit the changes | ||||||||||||||
|
Comment on lines
+3
to
+5
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These lines could be improved for grammar and flow. For example:
Additionally, the README is quite brief. Could you expand on what this repository is for? Perhaps link to some of the learning notes you've added?
Suggested change
|
||||||||||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| Writing Python codes | ||
| in order to learn Python , you need to able to write and excutes codes. | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This sentence has a few typos and grammatical points:
Could you revise this for clarity and correctness? |
||
|
|
||
|
|
||
| # Python Console (Shell) | ||
| Python Console also known as shell,allows to execute Python code lin by line. | ||
| accsess THE Python console by opening the command. | ||
|
Comment on lines
+6
to
+7
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There are a few areas for improvement in these lines:
How about refining these sentences for better readability and accuracy? |
||
| To Start using the console type the following and hit enter | ||
| name = "abc" | ||
| Again , type the following and hit enter | ||
| print(name) | ||
| After that should see this abc | ||
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,7 @@ | ||||||||||
|
|
||||||||||
| #""" Take a look at this example <This is the Comment/>""" | ||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This comment format Could you clarify the intent or simplify this comment, perhaps to
Suggested change
|
||||||||||
|
|
||||||||||
| x=4 | ||||||||||
| y=3 | ||||||||||
| sum=x+y | ||||||||||
| print(sum) | ||||||||||
|
Comment on lines
+6
to
+7
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Using Consider renaming this variable to something like How about changing it to
Suggested change
|
||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These lines about Python installation could be clearer and more grammatically correct. For instance:
Could you rephrase these instructions for better clarity and grammar?