mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(curriculum): print command output for tuples lesson (#63889)
This commit is contained in:
+1
-1
@@ -92,7 +92,7 @@ If you need to collect any remaining elements from a tuple, you can use the aste
|
||||
developer = ('Alice', 34, 'Rust Developer')
|
||||
name, *rest = developer
|
||||
|
||||
print(name, rest) # 'Alice'
|
||||
print(name) # 'Alice'
|
||||
print(rest) # [34, 'Rust Developer']
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user