GUJARAT TECHNOLOGICAL
UNIVERSITY
Chandkheda, Ahmedabad
Apollo Engineering and Technical Institute
A Report on
Summer Internship
At the industry or company
Patel Web Solution
Under the Subject
Summer Internship
(4330001)
[Offline Inter]
Submitted By
Name: - Patel Ansh B.
Enrollment No: - 224550307058
Department: - Diploma Computer Engineering
Guided By
Prof. Sarthak Ruhela
(Internal Guide)
Academic Year
(2023-24)
CERTIFICATE
Date:23/08/2023
This is to certify that the Internship at “Patel Web Solution” with a project entitled
“Scripting Language Python” has been carried out by “Patel Ansh” (Enrollment no:
224550307058) under my guidance in fulfillment of the Summer Internship (4330001) of the
diploma of Engineering in COMPUTER ENGINEERING (3rd Semester) of Gujarat Technological
University, Ahmedabad during the academic year 2023.
Internal Guide: Head of the Department:
Prof. Sarthak Ruhela Prof. Kavita Rathod
OFFER LETTER:
ACKNOWLEDGMENT
We would like to express a deep sense of gratitude and thanks to our internal guide Prof.
Sarthak Ruhela for his proper guidance and valuable suggestions. Without wise counsel and
able guidance, it would have been impossible to complete the work in this manner. It is a
moment of great pleasure to acknowledge his help and encouragement. His interest and constant
encouragement helped us in making the Project Successfully constant guidance received from
Prof. Heena Patel has been of great help in carrying out the present work. We also thanks to
friends for their suggestion during this work.
Patel Ansh B. (224550307058) Student Signature
Abstract
Python is an interpreted, object-oriented, high-level programming language with dynamic
semantics. Its high-level built in data structures, combined with dynamic typing and dynamic
binding, make it very attractive for Rapid Application Development, as well as for use as a
scripting or glue language to connect existing components together. Python's simple, easy to
learn syntax emphasizes readability and therefore reduces the cost of program maintenance.
Python supports modules and packages, which encourages program modularity and code
reuse. The Python interpreter and the extensive standard library are available in source or
binary form without charge for all major platforms and can be freely distributed.
Content
1 Introduction
1.1 Internship Summery /Introduction of [Internship]
1.2 Aim and Objectives
1.3 Organization Intro
1.4 Tools & Technologies and Language Intro
2 15 Days Log ( Prerequisites )
3 3.1 Day 1 & 2 information
3.2 Signup & Login Page in HTML (Day 3 & 4)
4 About CSS
5 About Python
PATEL ANSH (224550307058) SUMMER INTERNSHIP (4330001)
CHAPTER: -1 INTRODUCTION
1.1 Internship Summary
In This 15 Days Of internship, we have
learned about different type of languages
1.2 Aim & Objectives
Complete knowledge of programming exposure in python language
Design awesome python programming projects
Issuing of NSDC or ESSCI Government India certification under National
Occupational Standards
A long-term career in different tech aspects such as Web Development, Al, IoT,
Data Science, etc.
1.3 Organization Intro
Patel Web Solution is one of the well-known It Development, Training &
Placement Service provider. It offers variety of services including web and
Mobile Development, Corporate Training and
Digital Marketing with quality assurance. Patel Web Solution has its offshore
development center, the custom software development firm in Ahmadabad, which started its
operation in February 2018. Our company provides creative solutions that not only cater to
clients current but future needs as well. The global delivery model being its forte, Patel Web
Solution ranks amongst the best of breed solution partners. Highly talented engineers who
competently understand the client's long-term requirements are the driving force behind Patel
web Solution. Our company provides services in the field of custom software development
and information technology consulting and training.
1.4 Tools and Technology
Tools & Technologies
Tools: PyCharm Community notepad
Technologies: CORE PYTHON HTML | CSS
PAGE NO: 7
PATEL ANSH (224550307058) SUMMER INTERNSHIP (4330001)
1.4.1 Language
1: CORE PYTHON
Python is an interpreted, high-level, general-purpose programming language that
emphasizes code readability. It's a dynamically typed and garbage-collected language
that supports structured, object-oriented, and functional programming.
2:HTML
The HyperText Markup Language or HTML is the standard markup language for
documents designed to be displayed in a web browser. It can be assisted by
technologies such as Cascading Style Sheets (CSS) and scripting languages such as
JavaScript.
PAGE NO: 8
PATEL ANSH (224550307058) SUMMER INTERNSHIP (4330001)
CHAPTER: -2_15 DAYS LOG
1. INTRODUCTION
1.1. History
1.2. Features
1.3. Setting up path
1.4. Working with html
1.5. Basic Syntax
2. HTML Types of Lists
2.1. Ordered List
2.2. Unordered List
2.3. Description
3. LOOPING
3.1. For
3.2. While
3.3. Nested loops
4. Conditional STATEMENTS
4.1. If-Else
4.2. Else-if
4.3. Nested If
PAGE NO: 9
PATEL ANSH (224550307058) SUMMER INTERNSHIP (4330001)
HTML[Hyper Text Markup Language]
HTML lists are used to present list of information in well-formed and semantic way.
There are three different types of lists in HTML and each one has a specific purpose and
meaning.
• Unordered list — Used to create a list of related items, in no particular order.
• Ordered list — Used to create a list of related items, in a specific order.
• Description list — Used to create a list of terms and their descriptions.
Note: Inside a list item you can put text, images, links, line breaks, etc.
Here we have made the simple program of ordered list, unordered list and
description list. By using different types of tags, we have make this program.
An unordered list created using the <ul>element, and each list item starts
with the <li>element.
The list items in unordered lists are marked with bullets.
An ordered list created using the <ol>element, and each list item starts with the
<li> element. Ordered lists are used when the order of the list's items is
important.
The list items in an ordered list are marked with numbers.
A description list is a list of items with a description or definition of
each item.
The description list is created using <dl>element.
The <dl> element is used in conjunction with the <dt> element which specify a
term, and the <dd>element which specify the term's definition.
PAGE NO: 10
PATEL ANSH (224550307058) SUMMER INTERNSHIP (4330001)
PROGRAM:-
OUTPUT OF THE PROGRAM: -
FORMATING TAGS: -
Formatting elements were designed to display special types of text:
• <b>- Bold text
• <strong>- Important text
PAGE NO: 11
PATEL ANSH (224550307058) SUMMER INTERNSHIP (4330001)
• <i>- Italic text
• <em>- Emphasized text
• <mark>- Marked text
• <small>- Smaller text
• <del>- Deleted text
• <ins>- Inserted text
• <sub>- Subscript text
• <sup>- Superscript text
The HTML <i>element defines a part of text in an alternatevoice or
mood. The content inside is typically displayed in italic.
The HTML <em>element defines emphasized text. The contentinside is
typically displayed in italic.
The HTML <small>element defines smaller text.
The HTML <mark>element defines text that should be markedor
highlighted.
The HTML <del> element defines text that has been deleted from a
document. Browsers will usually strike a line throughdeleted text.
PROGRAM: -
PAGE NO: 12
PATEL ANSH (224550307058) SUMMER INTERNSHIP (4330001)
This program will give the output as follows: -
By using the tags, we can make the different types of tables.
The rows pan and Col span are <td> tag attributes. These are
used to specify the number of rows or columns a cell should span. The
row span attribute is for rows as well as the Col span attribute is for
columns. These attributes have numeric values, for example, Col span=3
will span three columns.
PAGE NO: 13
PATEL ANSH (224550307058) SUMMER INTERNSHIP (4330001)
PROGRAM: -
PAGE NO: 14
PATEL ANSH (224550307058) SUMMER INTERNSHIP (4330001)
OUTPUT OF THE PROGRAM: -
PROGRAM: -
PAGE NO: 15
PATEL ANSH (224550307058) SUMMER INTERNSHIP (4330001)
OUTPUT OF THE PROGRAM: -
PAGE NO: 16
PATEL ANSH (224550307058) SUMMER INTERNSHIP (4330001)
PROGRAM: - HTML FORM USINGDIFFERENT TYPES OF TOOLS.
OUTPUT OF THE PROGRAM: -
PAGE NO: 17
PATEL ANSH (224550307058) SUMMER INTERNSHIP (4330001)
INLINE CSS: -
Cascading Style Sheets (CSS) is used to format thelayout of a webpage.
With CSS, you can control the color, font, the size oftext, the spacing
between elements, how elements are positioned and laid out, what
background imagesor background colors are to be used, different displays
for different devices and screen sizes, and much more!
An inline CSS is used to apply a unique style to asingle HTML
element.
An inline CSS uses the styleattribute of an HTMLelement.
PAGE NO: 18
PATEL ANSH (224550307058) SUMMER INTERNSHIP (4330001)
OUTPUT OF THE PROGRAM: -
INTERNAL CSS
An internal CSS is used to define a style for a singleHTML page.
An internal CSS is defined in the <head>section of anHTML page, within a <style>
element.
PROGRAM: -
PAGE NO: 19
PATEL ANSH (224550307058) SUMMER INTERNSHIP (4330001)
OUTPUT OF THE PROGRAM: -
If the margin property has four values:L
margin: 10px 5px 15px 20px;
top margin is 10px.
right margin is 5px. bottom margin is
15px.
left margin is 20px.
If the margin property has three values:
margin: 10px 5px 15px;
top margin is 10px.
right andleft margins are 5px.
bottom margin is 15px.
If the margin property has two values:
margin: 10px 5px;
top and bottom margins are 10px.
right and left margins are 5px.
PAGE NO: 20
PATEL ANSH (224550307058) SUMMER INTERNSHIP (4330001)
PROGRAM: -
OUTPUT OF THE PROGRAM: -
PAGE NO: 21
PATEL ANSH (224550307058) SUMMER INTERNSHIP (4330001)
PADDING
The paddingproperty is a shorthand property for:
• padding-top
• padding right
• padding-bottom
• padding-left
This property can have from one to four values.
If the padding property has four values:
padding:10px 5px 15px 20px;
top paddingis 10px.
right padding is 5px.
bottom padding is 15px.
left paddingis 20px.
If the padding property has three values:
padding:10px 5px 15px;
toppadding is 10px.
right and left padding are 5px.
bottom padding is 15px.
If the padding property has two values:
padding:10px 5px;
top and bottom padding are 10px.
right and left padding are 5px.
If the padding property has one value:
padding:10px;
all four paddings are 10px.
PAGE NO: 22
PATEL ANSH (224550307058) SUMMER INTERNSHIP (4330001)
PROGRAM: -
OUTPUT OF THE PROGRAM: -
PAGE NO: 23
PATEL ANSH (224550307058) SUMMER INTERNSHIP (4330001)
HOW TO MAKE GTU FORM
PROGRAM: -
OUTPUT OF THE PROGRAM: -
PAGE NO: 24
PATEL ANSH (224550307058) SUMMER INTERNSHIP (4330001)
PYTHON
Python is a high-level, general-purpose programming language. Its
design philosophy emphasizes code readability with the use of
significant indentation. Python is dynamically- programming
paradigms, including structured, object-oriented typed and
garbagecollected. It supports multiple and functional programming.
Python is commonly used for developing websites and
software, task automation, data analysis, and data
visualization. Since it's relatively easy to learn, Python hasbeen
adopted by many non-programmers such as accountants and
scientists, for a variety of everyday tasks, like organizing
finances.
Different types of arithmetic operations can be made using
python language.
Sum of2 numbers: -
PROGRAM OF FUNCTION WITH OUTPUT:
PAGE NO: 25
PATEL ANSH (224550307058) SUMMER INTERNSHIP (4330001)
FUNCTION WITH ARGUMENTS WITH RETURN VALUES:
PROGRAM OF MATH FUNCTION WITH OUTPUT:
PAGE NO: 26
PATEL ANSH (224550307058) SUMMER INTERNSHIP (4330001)
PROGRAM OF FUNCTION WITH STRING:
SIMPLE “IF” PROGRAM WITH OUTPUT:
PAGE NO: 27
PATEL ANSH (224550307058) SUMMER INTERNSHIP (4330001)
“ELSE IF” PROGRAM WITH OUTPUT:
FUNCTION WITH NO ARGUMENTS BUT RETURN VALUES:
PAGE NO: 28
PATEL ANSH (224550307058) SUMMER INTERNSHIP (4330001)
EXAMPLE OF FOR LOOP WITH OUTPUT:
EXAMPLE OF WHILE LOOP WITH SUM:
PAGE NO: 29
PATEL ANSH (224550307058) SUMMER INTERNSHIP (4330001)
EXAMPLE OF NESTED FOR LOOP:
EXAMPLE OF BREAK WITH OUTPUT:
PAGE NO: 30
PATEL ANSH (224550307058) SUMMER INTERNSHIP (4330001)
EXAMPLE OF CONTINUE WITH OUTPUT:
EXMAPLE OF MATH FUNCTION(CEIL,ROUND,FLOOR,MIN):
PAGE NO: 31
PATEL ANSH (224550307058) SUMMER INTERNSHIP (4330001)
EXAMPLE OF MATH FUNCTION (CEIL,SQRT):
EXAMPLE OF MATH FUNCTION WITH OUTPUT:
PAGE NO: 32
PATEL ANSH (224550307058) SUMMER INTERNSHIP (4330001)
EXAMPLE OF WHILE LOOP:
EXAMPLE OF WHILE LOOP WITH PRODUCT:
PAGE NO: 33
PATEL ANSH (224550307058) SUMMER INTERNSHIP (4330001)
SUM OF EVEN NUMBERS USING WHILE LOOP:
SUM OF ODD NUMBERS USING WHILE LOOP:
PAGE NO: 34
PATEL ANSH (224550307058) SUMMER INTERNSHIP (4330001)
TO FIND THE SIMPLE INTEREST:
TO PUT THE NUMBERS IN RANGE FORM:
PAGE NO: 35
PATEL ANSH (224550307058) SUMMER INTERNSHIP (4330001)
EXAMPLE OF “CONDITION” STATEMENT WITH OUTPUT:
EXAMPLE OF FUNCTION WITH ARGUMENTS:
PAGE NO: 36
PATEL ANSH (224550307058) SUMMER INTERNSHIP (4330001)
Conclusion: -
HTML and CSS are essential tools for creating and designing websites. HTML
provides the structure and content of a webpage while CSS allows you to style and
layout the page. By mastering these two technologies, you can create beautiful and
functional websites that are accessible to users on a wide range of devices. Keep
practicing and experimenting with different techniques to continue improving your
skills.
PAGE NO: 37
PATEL ANSH (224550307058) SUMMER INTERNSHIP (4330001)
REFERENCE: -
W3school: https://www.w3schools.com/
Visual Studio Code: https://visualstudio.microsoft.com/
Programiz: https://www.programiz.com/
Geeks for Geeks: https://www.geeksforgee+ks.org/
PAGE NO: 38