Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CodeWithHarry/The-Ultimate-Python-Course
/ book
Method
book
Chapter 10 - PS/05_problem5.py:8–9 ·
view source on GitHub ↗
(self, fro, to)
Source
from the content-addressed store, hash-verified
6
self.trainNo = trainNo
7
8
def
book(self, fro, to):
9
print(f
"Ticket is booked in train no: {self.trainNo} from {fro} to {to}"
)
10
11
def
getStatus(self):
12
print(f
"Train no: {self.trainNo} is running on time"
)
Callers
1
05_problem5.py
File · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected