Wash the sweet pumpkin thoroughly, cut it in half, and remove the seeds.
Place the sweet pumpkin in a steamer and steam for 15 minutes.
Scoop out some of the steamed pumpkin with a spoon to create a hollow space.
Crack an egg into the hollowed-out pumpkin.
Season with salt and pepper.
Return to the steamer and steam for 7-10 minutes until the egg is cooked.
Transfer to a serving dish.