# 題目 3. 列印矩形 請設計一個程式S1-3.py 使用巢狀 for 迴圈(迴圈內還有迴圈),印出 5X4 星星矩陣如下 "***** ***** ***** *****" # program ## 第一組 ### s2-3 ```python= for i in range(4): for j in range(5): print("*",end = "") print(" ") # 先印出一排5個星號(後面換行) # 再印4排出來 ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up