- Welcome to Rust vs Python
- Table of content
- 1. Read line from stdin
- 2. Read a file line by line
- 3. Read/write from/to file
- 4. Read environment variable
- 5. Read command line arguments
- 6. Print formatted string
- 7. Print line separator
- 8. Random number in range
- 9. String to int
- 10. Exit with code
- 11. Enumerate string
- 12. Enumerate vector
- 13. Map vector
- 14. Ternary operator
- 15. Get min and max of two values
- 16. Get current timestamp in seconds
- 17. Sleep in async program
- 18. Increment dict value
- 19. Push value to a dict of vectors
- 20. Measure execution time
- 21. Implement custom formatting for a data type
- 22. Zip two vectors
- 23. Memoization
- 24. Deque
- 25. Remove file
- 26. Join path
- 27. Find the longest string