https://learnpythonthehardway.org/book/ex24.html
trong đó có 1 đoạn code nó in ra như vậy?
We can also do that this way:
We'd have 500000 beans, 500 jars, and 5 crates.
đây là đoạn code mình sửa lại theo pep 498
print ("We can also do that this way:")
print (f"We'd have {secret_formula(start_point)} beans, {secret_formula(start_point)} jars, and {secret_formula(start_point)} crates.")
nó lại in ra như vậy
We can also do that this way:
We'd have (500000, 500, 5) beans, (500000, 500, 5) jars, and (500000, 500, 5) crates.
83% thành viên diễn đàn không hỏi bài tập, còn bạn thì sao?