You are on page 1of 13

REPORT ON INDUSTRY LITERACY

SUBMITTED BY

1
CERTIFICATE
This to certify that the bonafide record work PYTHON
INTERSHIP was done by Mr. with register
number in partial fulfillment of the requiremnts for
the degree of

DECLARATION
2
1.Hereby declare that the report submitted to the
in partial fulfillment of the requirement for the course. I
visited ACCENT TECHNOSOFT on __under the
guidance of___

Place: Signature of the candidate


Date:

COMPANY CERTIFICATE INDEX


3
SI.No Content Page. No
1 INTRODUCTION
2 ABOUT PYTHON
3 GETTING STARTED
4 CONDITIONAL STATEMENTS
5 LOOPING
CONTROL STATEMENT
SEQUENTIAL DATA TYPES
FUNCTIONS
TYPES OF FUNCTIONS
EXCEPTION HANDLING
OOPS
MODULES
GUI

4
ABOUT COMPANY

5
INTRODUCTION
Information Technology (IT) plays a vital role in today’s
personal, commercial, and not-for-profit uses. In its
simplest terms, IT is the application of computers and
other electronic equipment to receive, store, retrieve,
transmit, and manipulate data. This data becomes
information when it is put into intelligible and useful
forms for communication.

6
PYTHON
Python is commonly used for developing websites and
software, task automation, data analysis, and data
visualization. Since it’s relatively easy to learn, Python
has been adopted by many non-programmers such as
accountants and scientists, for a variety of everyday tasks,
like organizing finances.
Python is a remarkably powerful dynamic programming
language that is used in a wide variety of application
domains. Python is often compared to Tcl, Perl, Ruby,
Scheme or Java. Some of its key distinguishing features
include:

very clear, readable syntax


strong introspection capabilities
intuitive object orientation
natural expression of procedural code
full modularity, supporting hierarchical packages
exception-based error handling
7
very high level dynamic data types
extensive standard libraries and third party modules for
virtually every task
extensions and modules easily written in C, C++ (or Java
for Jython, or .NET languages for IronPython)
embeddable within applications as a scripting interface.

GETTING STARTED
History
Features
Setting up path
Working with Python
Basic Syntax
Variable and Data Types
Operator

Conditional Statements
If
If- else

8
Nested if-else

Looping

For
While
Nested loops

Control Statements

Break
Continue
Pass

SEQUENTIAL DATA TYPES


Lists
9
Accessing list
Operations
Working with lists

Tuple
Accessing tuples
Operations
Working

Dictionaries
Accessing values in dictionaries
Working with dictionaries
Properties

Functions
Defining a function
Calling a function
Types of functions
Function Arguments
10
Anonymous functions
Global and local variables

Exception Handling

Exception
Exception Handling
Except clause
Try ? finally clause
User Defined Exceptions
OOPS

Class and object


Attributes
Inheritance
Overloading
Overriding
Data hiding

Modules
11
Importing module
Math module
Random module
Packages
Composition

GUI
Introduction
Tkinter programming
Tkinter widgets
PROGRAM:
# Python program to find the largest number among the three input numbers
# change the values of num1, num2 and num3
# for a different result
num1 = 10
num2 = 14
num3 = 12
#num1 = float(input("Enter first number: "))
#num2 = float(input("Enter second number: "))
#num3 = float(input("Enter third number: "))

if (num1 >= num2) and (num1 >= num3):


largest = num1
elif (num2 >= num1) and (num2 >= num3):
largest = num2
else:
largest = num3
print("The largest number is", largest)

12
OUTPUT:
The largest number is 14.0

CONCLUSION
Here in {company name:},by completing my industrial
visit, I have gained lot of knowledge and experience by
working in real-time environment which gives my
confidence and clarified my doubts in future.

13

You might also like