Industrial Training Report Inder PDF

Title Industrial Training Report Inder
Author Inder Barthwal
Course B.tech
Institution Dr. A.P.J. Abdul Kalam Technical University
Pages 26
File Size 869.1 KB
File Type PDF
Total Downloads 91
Total Views 152

Summary

INdustrial trainig report
summary of internship...


Description

Industrial Training Report On

PYTHON PROGRAMMING Submitted in Partial Fulfillment of the Requirements for the Degree of BACHELOR OF TECHNOLOGY In COMPUTER SCIENCE & ENGINEERING Submitted By

INDER BARTHWAL (University Roll no. 1709510017)

Amazing Training Basket Pvt. Ltd. Plot no: A-40, Unit No: - 207 & 301, 2nd & 3rd Floor, I-Thum Tower-A, Sector 62, Noida – 201309

Under the supervision of

CHARLES RUSSELL SEVERANCE Charles Russell Severance

Submitted To: SHALU GUPTA DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

MGM’s College of Engineering & Technology, Noida

1|Page

DECLARATION I, Inder Barthwal (1709510017), hereby declare that the work which is being presented in the project report “Python Programming” is the record of authentic work to be carried out by me in the partial fulfilment for the award of degree “Bachelor of Technology in Computer Science and Engineering”, this work has not been submitted to any other university/institute for the award of any degree/diploma.

Inder Barthwal (1709510017)

Shalu Gupta (Project guide)

2|Page

CERTIFICATE

3|Page

ACKNOWLEDGEMENT

I have taken efforts in this project. However, it would not have been possible without the kind support and help of many individuals and organizations. I would like to extend my sincere thanks to all of them. I am highly indebted to Coursera and my college MGM CoET for their guidance and constant supervision as well as for providing necessary information regarding the course & also for their support in completing the course.



I would like to express my gratitude towards my parents & professor of University of Michigan, Mr. Charles Russell Severance and my project guide Mrs. Shalu Gupta for their kind co-operation and encouragement which help me in completion of this course. I would like to express my special gratitude and thanks to industry persons for giving me such attention and time.

4|Page

ABSTRACT

The objective of a practical training is to learn something about industries practically and to be familiar with a working style of a technical worker to adjust simply according to industrial environment. This report deals with the equipment their relation and their general operating principle. Python, an interpreted language which was created by Guido van Rossum, and released in 1991.The language supports both object oriented and procedural oriented approach. Python is designed to be a highly extensible language. Python works on the principle of “there is only one obvious way to do a task” rather than “there is more than one way to solve a particular problem”. Python is very easy to learn and implement. The simpler syntax, uncomplicated semantics and approach with which python has been developed makes it very easier to learn. A large number of python implementations and extensions have been developed since its inception. Training Covers seven weeks industrial training in Python.

5|Page

TABLE OF CONTENT DECLARATION………………………………………………………2 CERTIFICATE………………………………………………………...3 ACKNOWLEDGEMENT…………..…………………………………4 ABSTRACT……………………………………………………………5 1. INTRODUCTION 1.1. What is Python…………………………………………………7 1.2. History…………………………………………………………7 1.3. Python Feature…………………………………………………8 2. Operator……………………………………………………………9 3. Data Structure In Python 3.1. List……………………………………………………………16 3.2. Tuple…………………………………………………………19 3.3. Dictionary……………………………………………………21 4. Functions…………………………………………………………25 5. Hands On With Python………………………………………… 27 6. References……………………………………………………… 32

6|Page

INTRODUCTION

1. PYTHON Python is a high-level, interpreted, interactive and object-oriented scripting language. Python is designed to be highly readable. It uses English keywords frequently where as other languages use punctuation, and it has fewer syntactical constructions than other languages.



Python is Interpreted − Python is processed at runtime by the interpreter. You do not need to compile your program before executing it. This is similar to PERL and PHP.



Python is Interactive − You can actually sit at a Python prompt and interact with the interpreter directly to write your programs.



Python is Object-Oriented − Python supports Object-Oriented style or technique of programming that encapsulates code within objects.



Python is a Beginner's Language − Python is a great language for the beginner-level programmers and supports the development of a wide range of applications from simple text processing to WWW browsers to games.

2. History of Python Python was developed by Guido van Rossum in the late eighties and early nineties at the National Research Institute for Mathematics and Computer Science in the Netherlands. Python is derived from many other languages, including ABC, Modula-3, C, C++, Algol-68, SmallTalk, and Unix shell and other scripting languages. Python is copyrighted. Like Perl, Python source code is now available under the GNU General Public License (GPL). 7|Page

Python is now maintained by a core development team at the institute, although Guido van Rossum still holds a vital role in directing its progress.

3. Python Features Python's features include − •

Easy-to-learn − Python has few keywords, simple structure, and a clearly defined syntax. This allows the student to pick up the language quickly.



Easy-to-read − Python code is more clearly defined and visible to the eyes.



Easy-to-maintain − Python's source code is fairly easy-to-maintain.



A broad standard library − Python's bulk of the library is very portable and cross-platform compatible on UNIX, Windows, and Macintosh.



Interactive Mode − Python has support for an interactive mode which allows interactive testing and debugging of snippets of code.



Portable − Python can run on a wide variety of hardware platforms and has the same interface on all platforms.



Extendable − You can add low -level modules to the Python interpreter. These modules enable programmers to add to or customize their tools to be more efficient.



Databases − Python provides interfaces to all major commercial databases.



Scalable − Python provides a better structure and support for large programs than shell scripting.

8|Page

Python has a big list of good features •

It supports functional and structured programming methods as well as OOP.



It can be used as a scripting language or can be compiled to byte-code for building large applications.



It provides very high-level dynamic data types and supports dynamic type checking.



It supports automatic garbage collection.



It can be easily integrated with C, C++, COM, ActiveX, CORBA, and Java.

OPERATORS

9|Page

Arithmetic operators: Python arithmetic operators are used to perform addition, subtraction, multiplication, and division. They act as basic mathematical operations. Example: x = 15 y=4 print('x + y =', x + y) # Output: x + y = 19 print ('x - y =', x-y) # Output: x - y = 11 print('x * y =', x*y) # Output: x * y = 60

Assignment operators: Assignment operators are used in Python to assign values to variables. a = 5 is a simple assignment operator that assigns the value 5 on the right to the variable a on the left. There are various compound operators in Python like a += 5 that adds to the variable and later assigns the same. It is equivalent to a = a + 5. Comparison operators: Comparison operators are used to compare two values. x = 10 y = 12 print('x > y is', x>y) # Output: x > y is False

print('x < y is', x...


Similar Free PDFs