例题:(for循环if语句字符串)

#打印一个A效果如下
      *
     * *
    *   *
   *     *
  *********
 *         *
*           *

要求:代码行数小于等于6行,ban转义字符(\n),三引号算不止一行。

  • 可以用for循环控制空格数
  • 有特例

12 thoughts on “练习1”
  1. I couldn’t agree more with your perspective on the subject. You’ve provided some helpful insights that will help people grasp this issue better.

回复 Omer 取消回复

您的邮箱地址不会被公开。 必填项已用 * 标注