21 Bcs 068
21 Bcs 068
21 Bcs 068
An internship report submitted in partial fulfilment of the requirements for the course
“Summer Internship-I ” of degree
Bachelor of Technology
(Comp
uter Science Engineering)
(As a part of 3 Semester
Course)
by
Ragav
Gupta
21bcs068
I, Ragav Gupta, Registration Number- 21bcs068 hereby declare that the work which is
being presented in internship report by me in partial fulfilment of the of the requirements
for the course “Summer Internship-I in Semester-III, 2021-22 of degree Bachelor of
Technology in Computer science Engineering from the School of Computer science
Engineering, Faculty of Engineering, Shri Mata Vaishno Devi University, Katra is a
bonafide record of my own work. The content presented in this study has not been
submitted in any other university/instltute for the award of any other degree.
Date: Ragav
Gupta
21bcs068
2
INTERNSHIP CERTIFICATE
3
ACKNOWLEDGEMENT
It is my proud privilege and duty to acknowledge the kind of help and guidance received
from several people in preparation of this report. First and foremost, I wish to record our
sincere gratitude to Great learning Coordinators support and encouragement in preparation of
this report and for making available videos and interface facilities needed to prepare this
report. The seminar on “python” was very helpful to us in giving the necessary background
information and inspiration in choosing this topic for the seminar. Last but not the least ,
we wish to thank our parents for financing our studies in this college as well as for
constantly encouraging us to learn engineering
Ragav
Gupta
2lbcs06
4
CONTENTS
i.Title
2.Deceleration
3. Certificate
4.Abstract
5.Internship objective
6.introduction of organisation
7.introduction to python
8.data type
9.variables
10 examples
11.form
12 . bibliography
5
ABSTRACT
This report discusses the internship program done by me at Great learning in programming
in
Python .It states the concept of Python programming.
It shows a brief background about the place of training .It mentions some facts about the
department that was responsible for the training program . This report describes the
history, characteristics, overview and concept of Python programming.
Python , an interpreted language which was developed by GUIDO VAN ROSSUM, came
into implementation in 1989 The language supports both object oriented and procedure
oriented approaches. Python is designed to be a highly extensible language .Python is very
6
9
INTRODUCTION TO PYTHON
WHATIS PYTHON?
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.
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.
10
WHY PYTHON?
C PROGRAMMING CODE -
11
• numeric data type
• dictionary :. Lists are sequences but the dictionaries are mappings.
• boolean
• set : A set contains unique and unordered elements and we can
construct them by using a set() function.
• list : Ordered collection of data
12
No type restriction .
• string
tuple
#creating a tuple using
t=("niti","hello",4, False)
print(t[3])
#cannot update a
tuple t[5]=34
string
assfgc xo.0,f,2,3.....
13
List
4 create a list using []
dictionary
#dictionary simply values for a particular
mydict {
key : value
14
SETS
#set is a collection of non repetative items
a=(1,2,3,4,65,7}
print(a)
print(type(a))
b={1,2,3,1}
Operators: Arithmetic
operators assignment
operators
comparison operators
logical operators
a=3
b=5
of 3/5 is",a/b)
c=4
d=6
a+=
7 b-
=5
16
c/=2
d*=6
17
print(a) print(b) print(c) print(d)
f=(14>7)
print(f)
bool1=True
bool2=False
some programe:
country= {
18
"1 " USA",
”
" Africa",
"2
"
"91" : "india",
"62" : "Indonesia",
"964": "Iraq",
"972"
Israel",
"39": "
Italy",
Japan”,
81
Kazakhstan",
"355": "Albania",
"54" : "Argentina",
"61": "Australia",
"43": "Austria",
"32" : "Belgium",
"55" : "Brazil",
” 86 ” : "China" ,
"20" : "Egypt",
" 33 ” : "France" ,
"49” : "Germany" ,
19
"7" "russia"
20
print (" select country code form")
print(country.keys())
n=(input())
print(country[n])
window.title(”Welcome to TutorialsPoint")
window.geometry('400x400')
window.configure(background = "grey”);
a1 = Entry(window).grid(row = O,column = 1)
b1 = Entry(window).grid(row = 1,column = 1)
c1 = Entry(window).grid(row = 2,column = 1)
d1 = Entry(window).grid(row = 3,column = 1)
def clicked():
21
res = "Welcome to ” + txt.get()
lbl.configure(text= res)
window.mainloop()
22
BIBLIOGRAPHY
BOOKS:- Automate the boring stuff with Python by AI sweigart
https://www.w3schoo1s.com/python/default.asp
23