File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed
Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,8 @@ def clear_screen():
1616 "projects" : [],
1717 "certifications" : [],
1818 "achievements" : []
19+ "internships" :[]
20+
1921}
2022
2123# Function to navigate back to the main menu
@@ -54,6 +56,27 @@ def add_experience():
5456 break
5557 back_to_menu ()
5658
59+ # Add internships <-- NEW
60+ def add_internships ():
61+ while True :
62+ clear_screen ()
63+ print ("Enter Internship Information" )
64+ internship = {
65+ "role" : prompt ("Role/Title: " ),
66+ "company" : prompt ("Company: " ),
67+ "location" : prompt ("Location (optional): " ),
68+ "start_date" : prompt ("Start Date (e.g., Jun 2024): " ),
69+ "end_date" : prompt ("End Date (e.g., Aug 2024 or 'Present'): " ),
70+ "details" : [s .strip () for s in prompt ("Highlights (comma-separated): " ).split ("," ) if s .strip ()]
71+ }
72+ resume_data ["internships" ].append (internship )
73+
74+ more = prompt ("Add another internship? (yes/no): " ).strip ().lower ()
75+ if more == "no" :
76+ break
77+ back_to_menu ()
78+
79+
5780# Add education details
5881def add_education ():
5982 while True :
You can’t perform that action at this time.
0 commit comments