Udemy class day3. Loops, List Comprehensions, More on Functions, File Processing
By Life Is Wonderful * | 2020년 5월 17일 |
-내가 정리한 내용 while loop while True: username = input("Enter username: "): if username == "peppy": break else: continue iterate: 반복하다intuitive: 이해하기 쉬운, 사용하기 쉬운 def sentence_maker(phrase): interrogatives = ("how", "what", "why") capitalized = phrase.capitalize() if phrase.startswith(interrogatives): return "{}?".format(capitalized) else: