Các bạn cho phép mình hỏi là tại sao cuối mỗi dòng code (print) lại có thêm [ “\n” ], nó có tác dụng gì?
# [ ] review and run example
work_tip = "save your code"
print("number of characters in string")
print(len(work_tip),"\n")
print('letter "e" occurrences')
print(work_tip.count("e"),"\n")
print("find the index of the first space")
print(work_tip.find(" "),"\n")

83% thành viên diễn đàn không hỏi bài tập, còn bạn thì sao?