Programming Concepts
1. A theme park charges £15 per person for a daily ticket. If there are six or more box people in a group, the group is given a £5 discount.
Write a Python program to calculate the total charge for a group of people visiting the theme park.
The program must:
Get the user to enter the number of people in a group
Calculate the total charge by:
Charging £15 per person
Reducing the total charge by £5 if there are six or more people
Output the total charge.
You should use indentation as appropriate, meaningful variable name(s) and Python syntax in your answer.
Ai এর মাধ্যমে
১০ লক্ষ+ প্রশ্ন ডাটাবেজ
প্র্যাকটিস এর মাধ্যমে নিজেকে তৈরি করে ফেলো
উত্তর দিবে তোমার বই থেকে ও তোমার মত করে।
সারা দেশের শিক্ষার্থীদের মধ্যে নিজের অবস্থান যাচাই
No related questions found