The repo Python-Jumpstart-PY101
, is a starter kit to learn PYTHON
.
It contains a variety of solved problems, ranging from very simple to complex problems, with solutions and codes.
PY101
is beginner-friendly, and provides a step-by-step process and solutions for all the problems stated. It is the perfect guide to learn the programming language, Python.
The problems and codes in PY101
are based on the Python Lab Courses
, which was part of the course UE20CS102
.
Table of Contents
The repo Python-Jumpstart-PY101
is a PYTHON CODEBASE , and is the perfect starter kit to learn PYTHON
.
The course PY101
is designed to be beginner-friendly , and to provide a step-by-step guide , to solve various problems .
The problems solved in PY101
range from simple to complex , aiding you to master the PYTHON language.
Welcome to PY101
!!
Have fun solving the problems, and learning PYTHON
in PY101
!
In the 'PY101' Directory
there are several directories:
-
Dictionary_Files
- contains problems, solutions and Python codes related to dictionaries. -
Functions_Recursion_Callback_Closure
- contains problems, solutions and Python codes related to functions, which are based on the recursion, callback, and closure concepts. -
Input_Output_Arithmetic_Operations
- contains problems, solutions and Python codes related to input-output and arithmetic operations. -
Iterative_Constructs_Lists_Tuples_1
- contains problems, solutions and Python codes related to iterative constructs like, lists, and tuples (part 1). -
Iterative_Constructs_Lists_Tuples_2
- contains problems, solutions and Python codes related to iterative constructs like, lists, and tuples (part 2). -
User_Defined_Functions
- contains problems, solutions and Python codes related to user-defined functions. -
User_Input_Expression_Library_Functions
- contains problems, solutions and Python codes related to user input in arithmetic expressions, and library functions.
PY101 repo structure click...
Below is the structure of the PY101
project repository
Python-Jumpstart-PY101/
│
├── PY101/ # Code Repository Folder
│ │
│ ├── Dictionary_Files/
│ │ └── ReadMe_programs.txt
│ │ └── All the program files mentioned in './ReadMe_programs.txt'
│ │
│ ├── Functions_Recursion_Callback_Closure/
│ │ ├── ReadMe_programs.txt
│ │ └── All the program files mentioned in './ReadMe_programs.txt'
│ │
│ ├── Input_Output_Arithmetic_Operations/
│ │ └── ReadMe_programs.txt
│ │ └── All the program files mentioned in './ReadMe_programs.txt'
│ │
│ ├── Iterative_Constructs_Lists_Tuples_1/
│ │ └── ReadMe_programs.txt
│ │ └── All the program files mentioned in './ReadMe_programs.txt'
│ │
│ ├── Iterative_Constructs_Lists_Tuples_2/
│ │ └── ReadMe_programs.txt
│ │ └── All the program files mentioned in './ReadMe_programs.txt'
│ │
│ ├── User_Defined_Functions/
│ │ └── ReadMe_programs.txt
│ │ └── All the program files mentioned in './ReadMe_programs.txt'
│ │
│ ├── User_Input_Expression_Library_Functions/
│ │ └── ReadMe_programs.txt
│ │ └── All the program files mentioned in './ReadMe_programs.txt'
│ │
│ └── LICENSE.txt # License file
│
└─── README.md # Repository README
- Basic understanding of programming concepts is helpful but not mandatory.
- Standard Python libraries, which are included with the default Python installation:
- math
- random
- Python (version 3.x) installed on your machine
- You can download the latest version from the official Python website.
- A code editor or IDE for writing and running Python code
- Recommended options include PyCharm, VS Code, or Jupyter Notebook.
- Basic knowledge of how to use the command line or terminal
- Familiarity with basic commands for navigating directories and running scripts
- Ensure your Python environment is properly set up by verifying the installation and checking the version:
python --version
- Install any additional tools or packages if needed using
pip
:pip install <package_name>
-
Clone the
'Python-Jumpstart-PY101'
github repository.git clone https://github.com/ankitacoder3/Python-Jumpstart-PY101.git
-
Navigate to the
'PY101' Directory
in that.cd Python-Jumpstart-PY101 cd PY101
-
Navigate to
ANY of the Directories
andexecute the respective files
present in that directory, by following the belowgiven steps
.i. Navigation :
Navigate to the respective directory.
For example: Navigate to the 'Dictionary_Files' Directory.xcd Dictionary_Files
ii. Execution :
By openingany file
inpython idle
orcommand prompt
, and running it.a. Python IDLE
-
To execute any file from Python IDLE,
open thepython file <filename>
in theIDLE
. -
RUN it, by clicking on
RUN
at the top bar, then clicking onRUN MODULE
. -
For example: To execute 'Program1.py' File,
open the**'Program1.py' File**
inIDLE
andRun
the file. -
Then
follow the instructions
, which appear onIDLE prompt
.
b. Command Prompt
-
To execute any file from command prompt,
navigate to the folder that contains thepython file <filename>
, in thecommand prompt
. -
Type the following command in command prompt
python <filename> <arguments (if any)>
-
For example: To execute 'Program1.py' File,
navigate to the./Program1.py
Folder path in thecommand prompt
.
then typepython "Program1.py"
-
Then
follow the instructions
, which appear oncommand prompt
.
-
-
Problem Solving with Python
The course
PY101
involves solving various problems usingPython
. -
Step-by-Step Solutions
Each problem comes with a detailed, step-by-step solution to help you understand the process.
-
Variety of Problems
Problems range from simple to complex, covering various topics and concepts in Python.
-
Practical Applications
The problems are designed to be practical and relevant, helping you apply Python concepts in real-world scenarios.
-
The course PY101 can serve as a comprehensive guide for learning Python.
-
The course PY101 can be used as a tool to strengthen your Python programming knowledge.
-
It includes various example problems and solutions that can be used to understand different Python concepts.
-
It can be used as a reference for solving common programming problems in Python.
-
The codes in
PY101
could also be used as aPython Lab Courses
, likeUE20CS102
or ue20cs102. -
Other Examples or Other Usage:
- It is particularly useful for courses that require practical problem-solving skills in Python, such as any introductory programming course.
- The repository's structure makes it easy to navigate through different topics and find specific solutions.
Thank you for exploring the PY101 course. Happy Coding and learning Python!! 🐍🧑💻