Create a tuple called coords containing the values 10, 20, and 30
A medium Python interview practice problem on DataDriven. Write and execute real python code with instant grading.
- Domain
- Python
- Difficulty
- medium
Problem
Create a tuple called coords containing the values 10, 20, and 30. Print the first element and the last element on separate lines.
Practice This Problem
Solve this Python problem with real code execution. DataDriven runs your Python code in a real environment and grades it automatically.