This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import random | |
w=["산기슭","발바닥","보늬","리락쿠마"] | |
print("[끝말잇기 게임] 준비되면 엔터! ' ㅂ')/") | |
input() | |
print("자, 내가 먼저 시작한다?\n") | |
q=random.choice(w) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>>> a=[1,4,3,2,'b','a'] | |
>>> a.sort() | |
Traceback (most recent call last): | |
File "<stdin>", line 1, in <module> | |
TypeError: '<' not supported between instances of 'str' and 'int' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import random | |
import time | |
w=["cat","dog","fox","monkey","mouse","panda","frog","snake","wolf"] | |
n=1 | |
print("[타자 게임]준비되면 엔터!") | |
input() | |
start=time.time() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import random | |
import time | |
w=["cat","dog","fox","monkey","mouse","panda","frog","snake","wolf"] | |
n=1 | |
print("[타자 게임]준비되면 엔터!") | |
input() | |
start=time.time() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import random | |
import time | |
w=["cat","dog","fox","monkey","mouse","panda","frog","snake","wolf"] | |
n=1 | |
print("[타자 게임]준비되면 엔터!") | |
input() | |
start=time.time() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import random | |
import time | |
w=["cat","dog","fox","monkey","mouse","panda","frog","snake","wolf"] | |
n=1 | |
print("[타자 게임]준비되면 엔터!") | |
input() | |
start=time.time() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import turtle as t | |
import random | |
score=0 | |
playing=False | |
te=t.Turtle() | |
te.shape("turtle") | |
te.color("red") | |
te.speed(0) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import turtle as t | |
import random | |
score=0 | |
playing=False | |
te=t.Turtle() | |
te.shape("turtle") | |
te.color("red") | |
te.speed(0) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import turtle as t | |
import random | |
def turn_up(): | |
t.left(2) | |
def turn_down(): | |
t.right(2) | |
def fire(): |