Python Example Codes For Random Curse