num_list = [1, 2, 3, 4, 5]
for number in num_list:
  if number < 3:
    print("小于3")
  elif number == 3:
    print("等于3")  
  else:
    print("大于3")
重构以下代码。
num_list = [1, 2, 3, 4, 5]
for number in num_list:
  if number < 3:
    print("小于3")
  else:
    if number == 3:
      print("等于3")  
    else:
      print("大于3")