You are on page 1of 34

GUJARAT TECHNOLOG UNIVERSITY

Chandkheda, Ahmedabad

APOLLO EDUCATION CAMPUS

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:-Aayush Chelani
Enrollment No.:-214550307043
Department:-Diploma Computer Engineering

Guided By

Prof.Prashant Patel
(Internal Guide)

Academic Year
(2021-22)

CERTIFICATE

Date:01/10 /2022

This is to certify that the Internship at “Patel Web Solution” with a project entitled
“Scripting Language Python” has been carried out by “Chelani Aayush” (Enrollment
no:214550307043 ) under my guidance in fulfillment of the Summer Internship (4330001) of the
diploma of Engineering in COMPUTERENGINEERING(3rd Semester) of Gujarat Technological
University, Ahmedabad during the academic year 2022.

Internal Guide: Head of the Department:

Prof. Prashant Patel Prof.Prashant Patel


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
Summer Internship(4330001)
214550307043

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 centre, 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

pg. 5
Summer Internship(4330001)
214550307043

1.4.1 Language
1: CORE PYTHON

Python can be used to write simple programs, but it also possesses the full
power required to create complex, large-scale enterprise solutions. Some
of the ways in which Python is used includes: Desktop graphical application
development, including games; Mathematical and scientific analysis of data;
and.

2:HTML

HTML (HyperText Markup Language) is the code that is used to structure a


web page and its content. For example, content could be structured within a
set of paragraphs, a list of bulleted points, or using images and data tables.

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

pg. 6
Summer Internship(4330001)
214550307043

4. Conditional STATEMENTS
4.1. If-Else
4.2. Else-if
4.3. Nested If

pg. 7
Summer Internship(4330001)
214550307043

 HTML[HyperTextMarkup
Language]

HTML lists are used to present list of information in well formed and
semantic way. There are three different types of list 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 make 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

pg. 8
Summer Internship(4330001)
214550307043

 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.

PROGRAM:-

OUTPUT OF THE PROGRAM:-

pg. 9
Summer Internship(4330001)
214550307043

 FORMATING TAGS:-
 Formatting elements were designed to display special types of text:

• <b> - Bold text


• <strong> - Important text
• <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 alternate


voice or mood. The content inside is typically displayed in
italic.
 The HTML <em> element defines emphasized text. The content
inside is typically displayed in italic.
 The HTML <small> element defines smaller text.
 The HTML <mark> element defines text that should be marked
or highlighted.
 The HTML <del> element defines text that has been deleted
from a document. Browsers will usually strike a line through
deleted text.

pg. 10
Summer Internship(4330001)
214550307043

PROGRAM:-

This program will give the output as follows:-

pg. 11
Summer Internship(4330001)
214550307043

 By using the tags we can make the different


types of tables.
 The rowspan and colspan are <td> tag attributes. These
are used to specify the number of rows or columns a cell
should span. The rowspan attribute is for rows as well as the
colspan attribute is for columns. These attributes have
numeric values, for example, colspan=3 will span three
columns

 You can use rowspan="n" on a td element to make it


span n rows, and colspan="m" on a td element to make
it span m columns. Looks like your first td needs a
rowspan="2" and the next td needs a colspan="4"
PROGRAM:-

pg. 12
Summer Internship(4330001)
214550307043

OUTPUT OF THE PROGRAM:-

 HOW TO MAKE THE FORM IN HTML?


 HTML Form is a document which stores information of a
user on a web server using interactive controls. An HTML
form contains different kind of information such as
username, password, contact number, email id etc. The
elements used in an HTML form are check box, input box,
radio buttons, submit buttons etc.

pg. 13
Summer Internship(4330001)
214550307043

PROGRAM:-

OUTPUT OF THE PROGRAM:-

 2nd PROGRAM OF HTML FORM USING


DIFFERENT TYPES OF TOOLS .

pg. 14
Summer Internship(4330001)
214550307043

PROGRAM:-

OUTPUT OF THE PROGRAM:-

pg. 15
Summer Internship(4330001)
214550307043

 INLINE CSS:-
 Cascading Style Sheets (CSS) is used to format the
layout of a webpage.

 With CSS, you can control the colour, font, the size of
text, the spacing between elements, how elements
are positioned and laid out, what background images
or background colours 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 a


single HTML element.

 An inline CSS uses the style attribute of an HTML


element.

pg. 16
Summer Internship(4330001)
214550307043

OUTPUT OF THE PROGRAM:-

 INTERNAL CSS
 An internal CSS is used to define a style for a single
HTML page.

 An internal CSS is defined in the <head> section of an


HTML page, within a <style> element.

pg. 17
Summer Internship(4330001)
214550307043

PROGRAM:-

OUTPUT OF THE PROGRAM:-

 MARGIN
 The margin property sets the margins for an element,
and is a shorthand property for the following
properties:

pg. 18
Summer Internship(4330001)
214550307043

• margin-
top
• margin-
right
• margin-
bottom 
margin-
left

 If the margin property has four values:

 margin: 10px 5px 15px


20px; o top margin
is 10px o right
margin is 5px o
bottom margin is
15px o left margin is
20px

 If the margin property has three values:

 margin: 10px 5px 15px; o top


margin is 10px o right and
left margins are 5px o
bottom margin is 15px

 If the margin property has two values:

 margin: 10px 5px; o top and


bottom margins are 10px o
right and left margins are 5px

pg. 19
Summer Internship(4330001)
214550307043

PROGRAM:-

OUTPUT OF THE PROGRAM:-

pg. 20
Summer Internship(4330001)
214550307043

 PADDING
 The padding property 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; o top padding
is 10px o right
padding is 5px o
bottom padding is
15px o left padding
is 20px

 If the padding property has three values:

 padding:10px 5px 15px; o top


padding is 10px o right
and left padding are 5px o
bottom padding is 15px

 If the padding property has two values:

• padding:10px 5px; o top and


bottom padding are 10px o
right and left padding are 5px

If the padding property has one value:

• padding:10px; o all four

paddings are 10px

pg. 21
Summer Internship(4330001)
214550307043

PROGRAM:-

OUTPUT OF THE PROGRAM:-

pg. 22
Summer Internship(4330001)
214550307043

 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-
typed and garbagecollected. It supports multiple programming
paradigms, including structured, object-oriented 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 has
been 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 of 2 numbers:-
PROGRAM OF FUNCTION WITH OUTPUT

pg. 23
Summer Internship(4330001)
214550307043

FUNCTION WITH ARGUMENTS WITH RETURN VALUES

PROGRAM OF MATH FUNCTION WITH OUTPUT

pg. 24
Summer Internship(4330001)
214550307043

PROGRAM OF FUNCTION WITH STRING

SIMPLE “IF” PROGRAM WITH OUTPUT

pg. 25
Summer Internship(4330001)
214550307043

“ELSE IF” PROGRAM WITH OUTPUT

FUNCTION WITH NO ARGUMENTS BUT RETURN VALUES

pg. 26
Summer Internship(4330001)
214550307043

EXAMPLE OF FOR LOOP WITH OUTPUT

EXAMPLE OF WHILE LOOP WITH SUM

pg. 27
Summer Internship(4330001)
214550307043

EXAMPLE OF NESTED FOR LOOP

EXAMPLE OF BREAK WITH OUTPUT

pg. 28
Summer Internship(4330001)
214550307043

EXAMPLE OF CONTINUE WITH OUTPUT

EXMAPLE OF MATH FUNCTION(CEIL,ROUND,FLOOR,MIN)

pg. 29
Summer Internship(4330001)
214550307043

EXAMPLE OF MATH FUNCTION(CEIL,SQRT)

EXAMPLE OF MATH FUNCTION WITH OUTPUT

pg. 30
Summer Internship(4330001)
214550307043

EXAMPLE OF WHILE LOOP

EXAMPLE OF WHILE LOOP WITH PRODUCT

pg. 31
Summer Internship(4330001)
214550307043

SUM OF EVEN NUMBERS USING WHILE LOOP

SUM OF ODD NUMBERS USING WHILE LOOP

pg. 32
Summer Internship(4330001)
214550307043

TO FIND THE SIMPLE INTEREST

TO PUT THE NUMBERS IN RANGE FORM

pg. 33
Summer Internship(4330001)
214550307043

EXAMPLE OF “CONDITION” STATEMENT WITH OUTPUT

EXAMPLE OF FUNCTION WITH ARGUMENTS

pg. 34

You might also like