Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions !DOCTYPE.html

This file was deleted.

1 change: 1 addition & 0 deletions HelloWorld.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
print("Hello world")
5 changes: 5 additions & 0 deletions InstallingPython.txt
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.
Comment on lines +1 to +2

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

These lines about Python installation could be clearer and more grammatically correct. For instance:

  • "To install Python go to..." could be "To install Python, go to..."
  • "make sure that check..." could be "make sure to check..." or "ensure you check..."
  • Specifying "Python 3.8" might become outdated. It's often better to refer to "the latest version" or guide users to find that information on the Python website.

Could you rephrase these instructions for better clarity and grammar?


#Python Interpreter (Compiler)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

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?

     #Python Interpreter

A Python interpreter is a program that executes Python codes.
10 changes: 10 additions & 0 deletions Intro.txt
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.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

There are a couple of grammatical points here:

  • "the one of the most popular programming language" should be "one of the most popular programming languages" (plural 'languages').
  • "its was first implemented" should be "it was first implemented" or "its implementation began".

Could you update this sentence for grammatical correctness?

   Ans: Python is one of the most popular programming languages, created by Guido van Rossum, and its implementation began in 1989.

#What is Python used for ?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

There's a missing space after the # and before the question mark. For consistency and readability in markdown-like comments, it's good to have a space. Also, the question mark seems to have a space before it, which is unusual.

Could this be formatted as # What is Python used for?

# What is Python used for?

Ans: 1)Web Devlopment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

There's a typo in "Devlopment". It should be "Development".

Also, the indentation for the list items (lines 4-7) is inconsistent. It would improve readability if they followed a consistent indentation pattern.

  Ans: 1) Web Development

2)Machine Learning
3)Data Science
4)Scripting
And Many more...
#What is the latest version of Python /

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

This line has a couple of minor issues:

  • Missing space after #.
  • An extra / at the end of the line.

Could you correct this to # What is the latest version of Python?

  # What is the latest version of Python?

Ans : Python 3 is the latest version of Python.
8 changes: 8 additions & 0 deletions PythonOverview.txt
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>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The note <vscode> here is a bit abrupt. To improve clarity, perhaps phrase it as an example, like "knowledge of installing software (e.g., a code editor like VSCode)".

What do you think about making this clearer?

       2)knowledge of installing software (e.g., VSCode).

3)A Compiler

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Similar to the comment in InstallingPython.txt, using "Interpreter" is generally more accurate for Python in a beginner's context than "Compiler".

Would you consider changing this to "An Interpreter" or "Python Interpreter"?

          3)An Interpreter



6 changes: 5 additions & 1 deletion README.md
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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

These lines could be improved for grammar and flow. For example:

  • "By Creating new Repository" -> "By creating a new repository"
  • "through Pull and push request" -> "through pull and push requests" (or "a pull request and push")
  • "and commit the changes" -> "and committing the changes"

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
By Creating new Repository
through Pull and push request
and commit the changes
By creating a new repository,
through pull and push requests,
and committing the changes.

12 changes: 12 additions & 0 deletions WritingPythonCodes.txt
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.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

This sentence has a few typos and grammatical points:

  • "you need to able to write" should be "you need to be able to write".
  • "excutes codes" should be "execute code" (singular 'code' is more common here, and 'execute' is the correct spelling).

Could you revise this for clarity and correctness?

in order to learn Python, you need to be able to write and execute code.



# 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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

There are a few areas for improvement in these lines:

  • Line 6: "Python Console also known as shell,allows to..." -> "The Python Console, also known as the shell, allows you to..." (missing 'The' and comma usage).
  • Line 6: "code lin by line" -> "code line by line".
  • Line 7: "accsess THE Python console" -> "access the Python console" (typo 'accsess', 'THE' in caps is unusual here).
  • Line 7: "by opening the command" is a bit vague. Perhaps "by opening a terminal or command prompt"?

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
7 changes: 7 additions & 0 deletions eg.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

#""" Take a look at this example <This is the Comment/>"""

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

This comment format #""" ... """ is a bit unusual. If this is intended as a standard single-line comment, the """ are not necessary. If it was meant to be a multi-line string or docstring, the leading # makes it a comment anyway.
The XML-like tag <This is the Comment/> is also unconventional in Python comments.

Could you clarify the intent or simplify this comment, perhaps to # Take a look at this example. This is a comment.?

Suggested change
#""" Take a look at this example <This is the Comment/>"""
# Take a look at this example. This is a comment.


x=4
y=3
sum=x+y
print(sum)
Comment on lines +6 to +7

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Using sum as a variable name is generally discouraged in Python because it shadows the built-in sum() function. This can lead to confusion or errors if you later try to use the built-in function in the same scope.

Consider renaming this variable to something like total, result, or s (if brevity is key, though total or result is more descriptive).

How about changing it to total?

Suggested change
sum=x+y
print(sum)
total = x + y
print(total)