Lakshmi Major Project
Lakshmi Major Project
On
Python Full-Stack Development
By
Rongali Lakshmi
III MPCS
CERTIFICATE
This is to certify that The Long Term Internship entitled,
“Python Full Stack Development” is a bonified work of Rongali
Lakshmi, bearing 721139705131, III MPCS, submitted to the
Department of Computer Science, Aditya Degree College,
Vizianagaram for the academic year 2021-2024.
Internship Guide
Y.Ramesh ,B.Tech.
Place: Vizianagaram
Date:
ADITYA DEGREE COLLEGE
Department of Computer Science
Degree College, bonified work carried out by him under my guidance and
Supervision.
I thank Dr.B.E.V.L.NAIDU, Academic Director, Aditya Degree College for his continuous
support and encouragement in my endeavour.
- Rongali Lakshmi
ABOUT ADITYA DEGREE COLLEGES
Aditya Degree colleges are the precious gifts presented to the twin Godavari Districts by
ADITYA. Educational group ADITYA Degree College which was established in 1998 in
Kakinada fulfilled the hopes and aspirations of many graduates and had been acclaimed as
the best degree college under Andhra University. Encouraged by the 100% result in
2003,ADITYA added several feathers to its cap by launching Degree Colleges in
Rajahmundry in 2003, in Vizag and Palakol in 2005 and in Tatipaka in 2006.
Needless to say, in the present scenario girls excel more tha\n boys in education and they give
tough competition to boys. Owing to their diffidence and inhibition, girls find difficulty in
expressing their doubts in a classroom of Co-ed College. Moreover, parents have many
objections in sending their daughters to a co-ed college. Realizing this, ADITYA successfully
leads Degree colleges for girls to prove their talents in curricular, co-curricular and extra-
curricular activities. ADITYA started P.G College also for Women to encourage them for
higher education.
VISION
To provide inclusive education with innovative methods and strenuous efforts for inculcating
human values, professionalism and scientific instillation in the realm of Degree Education to
all sections of students irrespective of race, region and religion with special focus to stand
independently and to emerge as centre for Research and Development.
MISSION
To provide ample scope for multifaceted development of local youth.
To provide quality higher education to student community.
To Recruit Highly Qualified and Experienced Faculty to provide Quality Education.
VISION
To fulher strengthen the DATAPRO in the multi skill development training aat National level
by enhancing satisfaction level of aspirants and employees, development and dedicated and
motivated task force with high ethical norms and innovating courses tuned with demand of the
industry.
To make our country a nation of multi-skilled trained by reaching rural India along with the
urban population.
With our trainers quantitative education to the trainees, constructive thinking by the
Management and the positive approach towards placements of those trained candidates, within
a short span of time, it has emerged as leading multi-skill twinning provide in the country
covering14 states-171 centers with 300 plus trainees.
Datapro, besides being an approved training partner of NSDC and having affiliations with as
many as 19 sector skill counsils, over the years we have trained and placed more than 113204
and 80079 candidated respectively sponsored by various schemes of Central and State Govt
Agencies, training and Placements od candidates in active projects, viz DDU-GKY, PMKVY,
Nai Manzil, Surya Mitra, Seekho Aur Kamao, MAEF, MEPMA, NULM, ORMAS, OSFOC,
PBSSO, JSDM, SUDA, etc are under-way.
The training programs that rae underway includes DDUGKY in Jammu & Kashmir,
Jharkhand, Odisha, Telangana, Sagarmala in Andhra Pradesh, PMKW and PMKK in different
states, BSDM in Bihar, SDM in Jharkhand, Nai Manzil in Telangana, PBSSD in West Bengal,
NULM in Madhya Pradesh, Chattisgarh and Jharkhand, Surya Mitra and USTAD in Andhra
Pradesh, etc.
Vision, Mission and values of the
Organization:- VISION:-
Due vision is to be a leading global provider of interactive and reliable Software
Solution empowering business to Thrive in the digital age.
MISSION:-
Our mission is to develop cutting-edge Software Solutions that Solve compare
business challenges, enhance Operations efficiency and drive Sustainable growth for our
client we strive to deliver exceptional value by leveraging emerging technologies,
fostering Strategic partnerships and maintaining a Customer, Centric approach Values
● Innovation
● Excellence
● Collaboration
● Integrity
● Customer Centricity
● Continuous Learning
ABSTRACT
Forms are an integral part of web development.
Whether you're designing a simple contact form or a
complex user registration form, the way you create and
style your forms can greatly affect the user experience.
In this blog post, we'll delve into the art of creating and
styling forms using HTML and CSS. We'll cover
everything from the basics to more advanced
techniques, with plenty of code examples to illustrate
each concept.
Table of Contents:
1. Basic Form Structure
2. Text Inputs
3. Radio Buttons and Check boxes
4. Select Drop downs
5. Text areas
6. Styling with CSS
7. Advanced Styling Techniques
8. Form Validation
9. Responsive Design
10. Conclusion
LONG TERM INTERNSHIP:
Y. Ramesh (B.TECH)
PROJECT COORDINATOR
Datapro Empowering Skills
R.Lakshmi
Tkinter:
Python offers multiple options for developing GUI
(Graphical User Interface).
a. Tk(screenName=None,
baseName=None, className=’Tk’,
useTk=1): To create a main window,
tkinter offers a method
‘Tk(screenName=None,
baseName=None, className=’Tk’,
useTk=1)’. To change the name of the
window, you can change the className
to the desired one. The basic code used to
create the main window of the
application is:
b. Eg: m=tkinter.Tk() where m is the
name of the main window
b. mainloop(): There is a method known by
the name mainloop() is used when your
application is ready to run. mainloop() is an
infinite loop used to run the application,
wait for an event to occur and process the
event as long as the window is not closed.
Eg: m.mainloop()
Functions in Python:
A function is a block of code which only runs when
it is called.You can pass data, known as parameters,
into a function.A function can return data as a
result.
Creating a Function:
In Python a function is defined using the def
keyword:
Example:
def my_function():
print("Hello from a function")
Calling a Function:
To call a function, use the function name
followed by parenthesis:
Example:
def my_function():
print("Hello from a function")
my_function()
Python Installation:
Program
Quiz App:
print()
print("\t\t\t Welcome to")
print("\t\t\tKaun Banega Crorepati")
for i in range(80):
print("*",end="")
time.sleep(0)
print()
a=input("\tEnter Your Name - ")
for i in range(80):
print("*",end="")
time.sleep(0)
print()
print("\n\t\tOK ",a," Let's Start The Game")
time.sleep(1)
questions=["Who is The Prime Minister of
India","In Which Country Area 51 is
Located","Which one is the largest Continent
in the world",
"Facebook Was Firstly Developed
by","Apple's Laptop is Also Known as"]
answer=["Narendra Modi","United
States","Asia","Mark
Zuckenberg","Macbook"]
wronganswers=[["Amit Shah","Aditya Nath
Yogi","Azhar Ansari"],
["India","Africa","Iraq"],["South
Africa","North America","Europe"],
["Bill Gates","Larry Page","Azhar
Ansari"],
["ThinBook","Notebook","ChromeBook"]]
attempquestion=[]
count=1
amount=0
while True:
while True:
selectquestion=random.choice(questions)
if selectquestion in attempquestion:
pass
elif selectquestion not in attempquestion:
attempquestion.append(selectquestion)
questionindex=questions.index(selectquestion
)
correctanswer=answer[questionindex]
break
optionslist=[]
inoptionlist=[]
optioncount=1
while optioncount<4:
optionselection=random.choice(wronganswer
s[questionindex])
if optionselection in inoptionlist:
pass
elif optionselection not in inoptionlist:
optionslist.append(optionselection)
inoptionlist.append(optionselection)
optioncount+=1
optionslist.append(correctanswer)
alreadydisplay=[]
optiontodisplay=[]
a1=True
while a1:
a=random.choice(optionslist)
if a in alreadydisplay:
pass
else:
alreadydisplay.append(a)
optiontodisplay.append(a)
a1=not True
a1=True
while a1:
b=random.choice(optionslist)
if b in alreadydisplay:
pass
else:
alreadydisplay.append(b)
optiontodisplay.append(b)
a1=not True
a1=True
while a1:
c=random.choice(optionslist)
if c in alreadydisplay:
pass
else:
alreadydisplay.append(c)
optiontodisplay.append(c)
a1=not True
a1=True
while a1:
d=random.choice(optionslist)
if d in alreadydisplay:
pass
else:
alreadydisplay.append(d)
optiontodisplay.append(d)
a1=not True
right_answer=""
if correctanswer==a:
right_answer="a"
elif correctanswer==b:
right_answer="b"
elif correctanswer==c:
right_answer="c"
elif correctanswer==d:
right_answer="d"
print("-------------------------------------------------
-------------------------------------------")
print("\t\t\tAmount Win - ",amount)
print("-------------------------------------------------
-------------------------------------------")
time.sleep(1)
print("\n\t\tQuestion ",count," on your
Screen")
print("-------------------------------------------------
-------------------------------------------")
time.sleep(1)
print(" | Question - ",selectquestion)
print("-------------------------------------------------
-------------------------------------------")
print("\
t----------------------------------------------------------
-------------------")
time.sleep(1)
print("\t| A. ",a)
print("\
t----------------------------------------------------------
-------------------")
time.sleep(1)
print("\t| B. ",b)
print("\
t----------------------------------------------------------
-------------------")
time.sleep(1)
print("\t| C. ",c)
print("\
t----------------------------------------------------------
-------------------")
time.sleep(1)
print("\t| D. ",d)
print("\
t----------------------------------------------------------
-------------------")
useranswer=input("\t\tEnter Correct
Option\t or \t press Q to quit.\n\t\t\
t...").lower()
if useranswer==right_answer:
if count==1:
amount=1000
elif count==2:
amount=2000
elif count==3:
amount=5000
elif count==4:
amount=10000
elif count==5:
amount=40000
elif count==6:
amount=80000
elif count==7:
amount=160000
elif count==8:
amount=320000
elif count==9:
amount=640000
elif count==10:
amount=1500000
print("\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\
n\n\n\n\n\n\n\n")
print("*")
print("\t\t\t \\\\\\\\\\
Congratulations! //////////")
print("\t\t\t|||||||||| You Won The Game
||||||||||")
print("*")
print("\n\n\t\t You Won Rs. ",amount)
print()
break
print("\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\
n")
print("*")
print("\t\t\t \\\\\\\\\\
Congratulations! //////////")
print("\t\t\t|||||||||| Right Answer ||||||||||")
print("*")
count+=1
elif useranswer=="q":
print("\n\n\t\t You Won Rs. ",amount)
break
else:
print("*")
print("\t\t\tWrong Answer")
print("*")
print("\n\n\t\t \tYou Won Rs. ",amount)
print("*")
break
OutPut:
Conclusion:
The program is a basic quiz game with a cash
prize. It prompts the user for their name, asks
them a series of questions, and rewards them
based on the number of correct answers. If the
user answers all questions correctly, they win the
maximum prize. If they choose to quit or answer
incorrectly, they win the amount they earned up
to that point. Overall, it's a simple but engaging
game.