The construction of computational thinking helps students to transform practical problems into transparent and understandable framework algorithms and solve them with computers.Taking the rabbit breeding problem in the movie Zootopia as an example,the Fibonacci sequence is derived.This paper tries to guide students to translate mathematical expressions into computer programming languages,and then solve problems through MATLAB software.