목록2024/06/17 (2)
JINIers
cipher 1 alphabet = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z','a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z']direction = input("Type 'encode' to encrypt, type 'decode' to decrypt:\n")text = input("Type your message:\n").lower()s..
# Function의 기본유형(def)# funtion의 기본 유형'''def my_function(): 여기에 적절한걸 넣으면 됨'''# Review: # Create a function called greet(). # Write 3 print statements inside the function.# Call the greet() function and run your code.# Greeting()이라는 함수를 만듭니다.# 함수 안에 3개의 print 문을 작성합니다.# Greeting() 함수를 호출하고 코드를 실행합니다.def greet(): print("no.1"), print("no.2"), print("no.3"), print("")greet()# function wuth inpu..