Skip to content
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

Enhance Python basics: Printing, User Input, Type Conversion, DataTypes, and add Commenting notes #18

Conversation

Samia35-2973
Copy link

@Samia35-2973 Samia35-2973 commented Sep 2, 2023

Overview

This PR enhances the "1_Introduction to Basics of Python" subsection in the Gold Level Data Science ML Full Stack Repository. It includes updates to several fundamental concepts:

  1. 01_Python Print Statements: I have added a way of printing that avoids going to newline with improved explanations and examples, making it more comprehensive and beginner-friendly.

  2. 02_Variables and Datatypes: I have added the String Literals as it's very important to handle paragraph. I also added two ways of printing multiple statements with variables. One of them is normal way and the other one is formatted string literals.

  3. 03_Getting Values from User: I've added detailed information on how to check the type of user input in Python, highlighting the importance of converting types of user input.

  4. 04_Type Conversion: The section on type conversion is updated with showing the type of any user input.

  5. 07_Commenting: Added a new section on commenting in Python, explaining the ways of code comments and providing best practices.

Motivation

The goal of these updates is to provide learners with a solid foundation and different ways in Python programming. By improving these core concepts, we aim to make the learning process more accessible and enjoyable for aspiring data scientists.

Changes Made

  • Updated existing content in the "1_Introduction to Basics of Python" subsection.
  • Added new subsection for commenting notes.
  • Updated "01_Python Print Statements", "02_Variables and Datatypes", "03_Getting Values from User", "04_Type Conversion" subsections.
  • Included code examples and explanations to illustrate key concepts.
  • Ensured consistency in formatting and style throughout the section.

Testing

I have thoroughly tested the updated content to ensure accuracy and readability. The code examples provided have been tested and validated to work as expected.

Checklist

  • I have followed the coding standards and guidelines of the repository.
  • The code is well-documented, and comments are added where necessary.
  • All existing tests pass successfully.
  • I have tested the changes locally and ensured they work as intended.

Thank you for considering this PR. I look forward to your feedback and any further improvements that may be needed.

@Samia35-2973 Samia35-2973 closed this by deleting the head repository May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant