<prompt> Kujenga programu ambayo kuzalisha tiketi digital.  <response>: Here is a sample program in Python that can generate a digital ticket:pythonfrom uuid import uuid4from datetime import datetimedef generate_ticketevent, date, time, location: ticket ticketticket id struuid4 ticketevent event ticketdate date tickettime time ticketlocation location tickettimestamp datetime.now.strftimeY-m-d H:M:S return ticketThis program defines a function generate_ticket that takes four arguments: event, date, time, and location. The function creates an empty dictionary called ticket and adds the following keys and values:- ticket id: A unique ID for the ticket generated using the uuid4 function from the uuid module- event: The value of the event argument- date: The value of the date argument- time: The value of the time argument- location: The value of the location argument- timestamp: The current date and time, formatted as a string using the strftime function from the datetime moduleThe function then returns the ticket dictionary.This program can be used to generate a digital ticket for an event. For example, if we wanted to create a ticket for a concert on September 10, 2022, at 7:00 PM at the Madison Square Garden, we could call the generate_ticket function like this:pythonconcert_ticket generate_ticketConcert, September 10, 2022, 7:00 PM, Madison Square GardenThis would create a concert_ticket dictionary with the following keys and values:python ticket id: 1e7b515c-158b-4cc1-89b9-9bc2867248bf, event: Concert, date: September 10, 2022, time: 7:00 PM, location: Madison Square Garden, timestamp: 2022-01-01 12:00:00Of course, the actual values of the ticket id and timestamp keys 