Industrial Training Report PDF
Industrial Training Report PDF
on
“PYTHON PROGRAMMING”
Done at
“CODSOFT”
by
1|Page
2|Page
ACKNOWLEDGEMENT
We, express our sincere thanks to our supervisor, Submitted to: Ms.
MANIDIPA ROY of ECE Department, ABES Engineering College, AKTU
University for guiding us right from the inception till successful
completion of the internship. We would also like to thank our HOD
Prof. (Dr.) Sanjay Kumar Singh for his valuable guidance and
cooperation to decide the topic and its content.
Signature:
3|Page
CONTENTS :
1. FRONT PAGE
2. CERTIFICATE
3.ACKNOWLEDGEMENT
4.PROJECT
5.RESULT
6.CONCLUSION
7.REFRENCES
4|Page
ABOUT COMPANY
CodSoft are IT services and IT consultancy that specializes in
creating innovative solutions for businesses. We are
passionate about technology and believe in the power of
software to transform the world. Our internship program is
just one of the ways in which we are investing in the future of
the industry.
At CodSoft, we believe practical knowledge is the key to
success in the tech industry. Our aim is to help students lacking
basic skills by offering hands-on learning through live projects
and real-world examples. Our team consists of industry experts
who are dedicated to equipping interns with the knowledge
and skills needed to succeed in their careers. We foster an
inclusive and supportive environment that encourages learning,
growth, and creativity.
5|Page
PROJECTS
• TO DO LIST
• CALCULATOR
• PASSWORD GENERATOR
• QUIZ GAME
6|Page
ABOUT PROJECTS
• TO DO LISTS : A To-Do List application is a useful project that helps
users manage and organize their tasks efficiently. This project aims to
create a command-line or GUI-based application using Python, allowing
users to create, update, and track their to-do lists .
7|Page
CODES
TO DO LISTS: class ToDoList:
def __init__(self):
self.tasks = []
def show_tasks(self):
if self.tasks:
print("Tasks:")
for index, task in enumerate(self.tasks, start=1):
print(f"{index}. {task}")
else:
print("No tasks in the list.")
def main():
todo_list = ToDoList()
while True:
print("\nSelect an option:")
print("1. Add Task")
print("2. Remove Task")
print("3. Show Tasks")
print("4. Quit")
if choice == "1":
task = input("Enter the task: ")
todo_list.add_task(task)
elif choice == "2":
task = input("Enter the task to remove: ")
todo_list.remove_task(task)
elif choice == "3":
todo_list.show_tasks()
elif choice == "4":
print("Quitting the program.")
break
8|Page
else:
print("Invalid choice. Please select a valid option.")
if __name__ == "__main__":
main()
9|Page
button_7.grid(row=3, column=0, pady=2)
button_8 = tk.Button(master=frame, text='8', padx=15,
pady=5, width=3, command=lambda: myclick(8))
button_8.grid(row=3, column=1, pady=2)
button_9 = tk.Button(master=frame, text='9', padx=15,
pady=5, width=3, command=lambda: myclick(9))
button_9.grid(row=3, column=2, pady=2)
button_0 = tk.Button(master=frame, text='0', padx=15,
pady=5, width=3, command=lambda: myclick(0))
button_0.grid(row=4, column=1, pady=2)
button_add = tk.Button(master=frame, text="+", padx=15,
pady=5, width=3, command=lambda: myclick('+'))
button_add.grid(row=5, column=0, pady=2)
button_subtract = tk.Button(
master=frame, text="-", padx=15, pady=5, width=3, command=lambda:
myclick('-'))
button_subtract.grid(row=5, column=1, pady=2)
button_multiply = tk.Button(
master=frame, text="*", padx=15, pady=5, width=3, command=lambda:
myclick('*'))
button_multiply.grid(row=5, column=2, pady=2)
button_div = tk.Button(master=frame, text="/", padx=15,
pady=5, width=3, command=lambda: myclick('/'))
button_div.grid(row=6, column=0, pady=2)
button_clear = tk.Button(master=frame, text="clear",
padx=15, pady=5, width=12, command=clear)
button_clear.grid(row=6, column=1, columnspan=2, pady=2)
button_equal = tk.Button(master=frame, text="=", padx=15,
pady=5, width=9, command=equal)
button_equal.grid(row=7, column=0, columnspan=3, pady=2)
window.mainloop()
characterList = ""
while(True):
choice = int(input("Pick a number "))
10 | P a g e
if(choice == 1):
characterList += string.ascii_letters
elif(choice == 2):
characterList += string.digits
elif(choice == 3):
characterList += string.punctuation
elif(choice == 4):
break
else:
print("Please pick a valid option!")
password = []
for i in range(length):
randomchar = random.choice(characterList)
password.append(randomchar)
// Given K trials
int K = 5;
int i, guess;
System.out.println(
"A number is chosen"
+ " between 1 to 100."
11 | P a g e
+ "Guess the number"
+ " within 5 trials.");
System.out.println(
"Guess the number:");
if (i == K) {
System.out.println(
"You have exhausted"
+ " K trials.");
System.out.println(
"The number was " + number);
}
}
// Driver Code
public static void main(String arg[]) {
// Function Call
guessnumber();
}
}
12 | P a g e
RESULTS
TO DO LISTS:
Select an option:
1. Add Task
2. Remove Task
3. Show Tasks
4. Quit
Enter your choice: 1
Enter the task: ADD
Task added: ADD
• CALCULATOR:
13 | P a g e
PASSWORD GENERATOR:
14 | P a g e
CONCLUSION
Python, it has been mentioned, is an object-oriented programming
language. Of course, that begs the question, "What is object-oriented
programming?" After all, it would be nice to know what it meant to be
object-oriented, in order to understand what that buys you as a
programmer. What are objects, and why are they important to us as
programmers? Although we will not specifically look at Python here, the
basic concepts you will learn in this chapter will apply directly to the next
chapter as we talk about how Python implements all of these concepts.
If you have a good background in object-oriented programming (often
abbreviated OOP), please feel free to skip to the next chapter and learn
how Python does it all.
15 | P a g e
REFRENCES
GEEKS FOR GEEKS
YOU TUBE
PYTHON PROGRAMMIN : RYAN TURNER
GOOGLE
CODSOFT TEAM
16 | P a g e