Professional Documents
Culture Documents
Chandkheda, Ahmedabad
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.
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
4 About CSS
5 About Python
Summer Internship(4330001)
214550307043
CHAPTER:-1 INTRODUCTION
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
1.1. History
1.2. Features
1.3. Setting up path
1.4. Working with HTML
1.5. Basic Syntax
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.
Note: Inside a list item you can put text, images, links, line breaks, etc.
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.
pg. 8
Summer Internship(4330001)
214550307043
PROGRAM:-
pg. 9
Summer Internship(4330001)
214550307043
FORMATING TAGS:-
Formatting elements were designed to display special types of text:
pg. 10
Summer Internship(4330001)
214550307043
PROGRAM:-
pg. 11
Summer Internship(4330001)
214550307043
pg. 12
Summer Internship(4330001)
214550307043
pg. 13
Summer Internship(4330001)
214550307043
PROGRAM:-
pg. 14
Summer Internship(4330001)
214550307043
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!
pg. 16
Summer Internship(4330001)
214550307043
INTERNAL CSS
An internal CSS is used to define a style for a single
HTML page.
pg. 17
Summer Internship(4330001)
214550307043
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
pg. 19
Summer Internship(4330001)
214550307043
PROGRAM:-
pg. 20
Summer Internship(4330001)
214550307043
PADDING
The padding property is a shorthand property for:
• padding-top
• padding-
right
• padding-
bottom
padding-left
pg. 21
Summer Internship(4330001)
214550307043
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.
Sum of 2 numbers:-
PROGRAM OF FUNCTION WITH OUTPUT
pg. 23
Summer Internship(4330001)
214550307043
pg. 24
Summer Internship(4330001)
214550307043
pg. 25
Summer Internship(4330001)
214550307043
pg. 26
Summer Internship(4330001)
214550307043
pg. 27
Summer Internship(4330001)
214550307043
pg. 28
Summer Internship(4330001)
214550307043
pg. 29
Summer Internship(4330001)
214550307043
pg. 30
Summer Internship(4330001)
214550307043
pg. 31
Summer Internship(4330001)
214550307043
pg. 32
Summer Internship(4330001)
214550307043
pg. 33
Summer Internship(4330001)
214550307043
pg. 34