Original code:
class Path: def __init__(self, path): self.current_path = path def cd(self, new_path): return None path = Path('/a/b/c/d') path = path.cd('../x') print(path and path.current_path)
Dashboard
Start Trial
Sign In
Home
Product
Features
Use Cases
Customers
ROI Calculator
Integrations
Assessments
Tests
Questions
Pricing
Resources
Book: Evidence-Based Hiring
Blog
Support
Contact Us
Legal
For Jobseekers
© TestDome, 2024.