Python Code for a Taxi Fare - Computer Science GCSE Exam Question
3 years ago
2
This video shows you how to answer this GCSE past exam question.
Python program that allows a taxi company to calculate how much a taxi fare should be.
The program should:
• allow the user to enter the journey distance in kilometres (no validation is required)
• allow the user to enter the number of passengers (no validation is required)
• calculate the taxi fare by
◦ charging £2 for every passenger regardless of the distance
◦ charging a further £1.50 for every kilometre regardless of how many passengers there are
• output the final taxi fare.
Loading comments...
-
10:05
Knowledge is for Sharing
2 years agoPython Tutorials - GCSE Exam Question - Calculating the Taxi Fare
24 -
10:05
hamak
2 years agoPython Tutorials - GCSE Exam Question - Calculating the Taxi Fare
4 -
6:14:06
ProgrammingWithMosh
1 year agoPython Tutorial - Python Full Course for Beginners
1741 -
37:59
mblayman
1 year agoLearn Python By Example - Currency Exchange
8 -
22:04
Tech With Tim
4 years agoPython Coding Interview Practice - Difficulty: Hard
15 -
9:49
siddiki
1 year agopython programming
31 -
1:04:56
VillainsLairTV
11 months agoPython Programming Lesson 36
1 -
13:59
Tech With Tim
2 years agoCan You Answer These Tricky Python Questions?
25 -
4:26:51
Dellers
3 years ago $0.01 earnedPython - Full Course for Beginners
1951 -
7:00
ZorabsPython
1 year agotutorial on range() function in python 🐍| PYTHON programing language for beginners 2023
7