瀏覽代碼

single print statement with double new line at the end

pablo.loyola 4 年之前
父節點
當前提交
e9f4b7ac77
共有 1 個檔案被更改,包括 1 行新增2 行删除
  1. 1
    2
      CCOM4702/Lab06/sapo_keygen.py

+ 1
- 2
CCOM4702/Lab06/sapo_keygen.py 查看文件

@@ -15,8 +15,7 @@ print("""             _
15 15
                 |>
16 16
                /|      flamingo
17 17
                `""")
18
-print("--------------------------------------------------")
19
-print()
18
+print("--------------------------------------------------", end = "\n\n")
20 19
 
21 20
 usr = input("Input a 7-character username: ")
22 21