Question: python Write a user-defined function seminar(n) that takes one argument, n, the number of people registering to take a seminar. The price per person is
Write a user-defined function seminar(n) that takes one argument, n, the number of people registering to take a seminar. The price per person is determined from the following: Code a multi-way if/elif statement that prints the price per person. If n is 0 , print ' 0 not allowed. There are no prompt (input) statements. Sample: >seminar(6)80.0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
