Pārlūkot izejas kodu

single print statement with double new line at the end

pablo.loyola 4 gadus atpakaļ
vecāks
revīzija
e9f4b7ac77
1 mainītis faili ar 1 papildinājumiem un 2 dzēšanām
  1. 1
    2
      CCOM4702/Lab06/sapo_keygen.py

+ 1
- 2
CCOM4702/Lab06/sapo_keygen.py Parādīt failu

@@ -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