00:01
So, here is a python program that satisfies the requirement.
00:04
And this is a code in a python language.
00:07
First of all, you have to add a constant.
00:10
So, section a price 20, c its 300, b price 15, c its 500, for c price 10, c its 200.
00:22
Then function to get the number of tickets sold for a section.
00:26
So, def getticketssoldsection while true, try tickets int input f enter the number of tickets sold for section.
00:37
So, if tickets greater than equal to 0 return ticket, else print entered a non -negative number.
00:55
So, here ticket int input f enter the number of tickets sold for section.
01:01
And if ticket here we have to using a loop if condition.
01:06
So, if tickets greater than equal to 0 return tickets, else print entered a non -negative number...