79744944

Date: 2025-08-24 14:31:30
Score: 1.5
Natty:
Report link

from pptx import Presentation

from pptx.util import Inches, Pt

from pptx.dml.color import RGBColor

# Create a new presentation

prs = Presentation()

# Define slide layouts

title_slide_layout = prs.slide_layouts[0]

bullet_slide_layout = prs.slide_layouts[1]

closing_slide_layout = prs.slide_layouts[5]

# --- Slide 1: Title ---

slide = prs.slides.add_slide(title_slide_layout)

title = slide.shapes.title

subtitle = slide.placeholders[1]

title.text = "Unstoppable Spirits"

subtitle.text = "“Ability Beyond Disability”\n\nMade by Sanvi Bansal"

# Data for people

people_data = {

"Madhavi Latha": \[

    "Struggled with polio since childhood",

    "Faced discrimination and challenges",

    "Excelled in swimming and sports",

    "Founded Paralympic Swimming Association of Tamil Nadu",

    "Inspires thousands of differently-abled athletes"

\],

"Jeeja Ghosh": \[

    "Born with cerebral palsy",

    "Faced rejection and humiliation in public life",

    "Became a strong disability rights activist",

    "Worked with NGOs for inclusion and equality",

    "A true role model for empowerment"

\],

"Dhanya Ravi": \[

    "Born with Osteogenesis Imperfecta (brittle bones disease)",

    "Motivational speaker and social activist",

    "Awarded 'Rare Disease Champion'",

    "Advocates for awareness on rare diseases",

    "Inspires people with positivity and courage"

\],

"Sabari Venkat": \[

    "Wheelchair user with strong determination",

    "Actively involved in social work",

    "Encourages youth to overcome obstacles",

    "Believes 'Disability is not inability'",

    "Motivates many through his journey"

\],

"Umesh Salgar": \[

    "Lost both arms in an accident",

    "Learned to live independently with resilience",

    "Can write and perform tasks without arms",

    "Runs his own business successfully",

    "Symbol of courage and hard work"

\]

}

# Create 2 slides per person

for name, bullets in people_data.items():

\# Slide 1: Intro

slide = prs.slides.add_slide(bullet_slide_layout)

title_shape = slide.shapes.title

body_shape = slide.placeholders\[1\]

title_shape.text = name

tf = body_shape.text_frame

for point in bullets\[:3\]:

    p = tf.add_paragraph()

    p.text = point

\# Slide 2: Inspiration

slide = prs.slides.add_slide(bullet_slide_layout)

title_shape = slide.shapes.title

body_shape = slide.placeholders\[1\]

title_shape.text = f"{name} – Inspiration"

tf = body_shape.text_frame

for point in bullets\[3:\]:

    p = tf.add_paragraph()

    p.text = point

# Closing slide

slide = prs.slides.add_slide(closing_slide_layout)

title = slide.shapes.title

title.text = "Ability Beyond Disability"

txBox = slide.shapes.add_textbox(Inches(2), Inches(3), Inches(6), Inches(2))

tf = txBox.text_frame

p = tf.add_paragraph()

p.text = "Thank you\n\nMade by Sanvi Bansal"

p.font.size = Pt(20)

p.font.color.rgb = RGBColor(0, 102, 204)

# Save PPTX file

prs.save("Unstoppable_Spirits_Sanvi_Bansal.pptx")

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Contains signature (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Sanvi