The farmer planted a total of 30 x 10 = <<30*10=300>>300 tomato plants.

Thus, the farmer can get 300 x 20 = <<300*20=6000>>6000 pieces of tomatoes.

# Answer

6000
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
A farmer planted 30 rows of tomatoes with 10 plants in each row. Each tomato plant yields 20 pieces of tomatoes. How many pieces of tomatoes can the farmer get from all his planted tomatoes?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
6000
A farmer planted 30 rows of tomatoes with 10 plants in each row. Each tomato plant yields 20 pieces of tomatoes. How many pieces of tomatoes can the farmer get from all his planted tomatoes?
train