Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
0403_diamond
#python 3.5.2 # 0001000 # 0011100 # 0111110 # 1111111 # 0111110 # 0011100 # 0001000 #마름모 만들기 line = 7 #int(input("몇 줄짜리를 만들지 홀수로 입력하세요: ")) brick = [ ] #초기화 하고 시작 #정삼각형 만들기: (line+1)/2 = 4행짜리 for n in range(1, line, 2): test = " "*int(line//2) + "*"*(n) + " "*int(line//2) print(test) #역삼각형 만들기: (7-1)/2 = 3행짜리
run
|
edit
|
history
|
help
0
Assignment-3c
Well, this seems bad.
vocabulary
Student
Atur cara mengira luas permukaan dan isipadu sebuah trapezium
gj
Hello. Py
sum of odd numbers
Q3
Gift_Card Interview SQL Analysis Conducted by Miranda Zhao