
For & While loops IF/Else Lists Strings Range Modules 총 망라하여 생각할 필요 있음 https://drive.google.com/file/d/14SDAxEl7ehqtyvWceCrbtlvzQsldPxSa/view?usp=sharing * My first code word_list = ["aardvark", "baboon", "camel"] #TODO-1 - Randomly choose a word from the word_list and assign it to a variable called chosen_word. #TODO-2 - Ask the user to guess a letter and assign their answer to a variable calle..
def turn_right(): turn_left() turn_left() turn_left() def go_and_jump(): while front_is_clear(): if not at_goal(): move() else: done() turn_left() while wall_on_right(): move() turn_right() move() turn_right() while front_is_clear(): move() turn_left() while not at_goal(): go_and_jump() --------------------------------------------------------------------------------------------------------------..
#Password Generator Project import random letters = ['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'] numbers = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'] symbols = ['!', '#', '$'..
for 아이템 in 아이템리스트 : # Do something ex) 최대값 # ? Don't change the code below ? student_scores = input("Input a list of student scores ").split() for n in range(0, len(student_scores)): student_scores[n] = int(student_scores[n]) print(student_scores) # ? Don't change the code above ? #Write your code below this row ? max_score = 0 for score in student_scores : if score > max_score: max_score = scor..
rock = ''' _______ ---' ____) (_____) (_____) (____) ---.__(___) ''' paper = ''' _______ ---' ____)____ ______) _______) _______) ---.__________) ''' scissors = ''' _______ ---' ____)____ ______) __________) (____) ---.__(___) ''' #Write your code below this line ? choice = int(input("What do you choose? Type 0 for Rock, 1 for Paper, 2 for Scissors. ")) if choice == 0 : print(rock) elif choice =..
- Total
- Today
- Yesterday
- 정렬
- fromkeys
- 대소문자
- 차집합
- vmware.powercli
- cloud-init
- dezoomify
- 배열
- powershell
- virt-sysprep
- 3par
- LIST
- 중복제거
- 읽어오기
- 변수화
- set()
- sysprep
- dp-2
- oracle
- dp-1
- insert
- exadata
- 스토리지
- EXA
- 부동없이
- artandculture
- vmware
- powercli
- storage
- Join
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
31 |