'2020/04'에 해당되는 글 5건
- 2020.04.24 :: 로또복권 + trinket
- 2020.04.17 :: 장하준 교수 + 구글팔로우에 입력
- 2020.04.16 :: 파일다운 + 파이썬공부
- 2020.04.13 :: letter trom mail
- 2020.04.02 :: 코로나의 우리경제
https://search.naver.com/search.naver?sm=tab_hty.top&where=webkr&query=
로또899회당첨번호&oquery=로또당첨번호조회&tqi=
Uq568dprvhGssOz3F1wssssstF4-255361
899를 입력하고 오른편 화살표를 크릭하면 ...
복권당첨하고 부자 되세요 !
오전 11:25 2020-04-24
//////////////////////////////////////////////////////////////////////////////////////////////////////////
파이선 연습용으로 만든복사본
kkkkkkk
Embed Your Code!
Embed this code on your site
//////////////////////////////////////////////////////////////////////
<iframe src="https://trinket.io/embed/python/d119efdc43" width="100%" height="356" frameborder="0" marginwidth="0" marginheight="0" allowfullscreen></iframe>
kkk
https://wikidocs.net/22 - for와 range 함수를 사용하면 1부터 10까지 더하는 것을 다음과 같이 쉽게 구현할 수 있다.
아래는 다른 코딩방법이다
a = 0
for i in range(1, 11):
a += i
print(a)
참고 : 파이썬에서 들여쓰기(tab)는 c 언어나 java 프로그래밍에서 사용하는
중괄호 {}와 같은 같은 의미이다 .
///////////////////////////////////////////////////////////////////////////////////////////
파이썬으로
여러분이 마트에서 거스름돈을 계산하는 프로그램을
작성하여 보세요 !
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////
거북이 달리기
# You can edit this code and run it right here in the browser!
# First we'll import some turtles and shapes:
print('hi! ')
import turtle as t
import random
t.shape('turtle')
t.speed(0)
for x in range(1500):
a=random.randint(1,360)
t.setheading(a)
t.forward(10)
t.color('green')
////////////////////////////////////////////////////////////////////////////
<iframe width="560" height="315" src="https://www.youtube.com/embed/OVLY4xo0rHQ" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
/////////////////////////////////
장 교수님의 말씀 들어 보세요 !
유튜브에서 복사함 - 오전 11:05 2020-04-17
///////////////////////////////////////////////////////////////////////////////////////////////////////////////
Follow The Blue Lantern 이곳에 내 구글 블로그를 등록해 보았다 2020-10-15 ......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... 계속해서 글씨가 입력이 가능하다0.............................................................................................................................................
- THE BLUE LANTERN 에다 팔로우를 하다 - 2020-10-15
https://www.blogger.com/profile/03943563452168571716
http://thebluelantern.blogspot.com/
https://www.blogger.com/view-follower.g?followerID=04839895177455815635&blogID=1086588560855961894
2020-10-15
///////////////////////////////////////////////////////////////////////////////////////////////////////////////
직장티콘공모전_출품신청서,개인정보수집동의서 (1).doc
ms word 문서
https://nateonevent.nate.com/event/20200401_acticonContest/
오전 11:17 2020-04-16
//////////////////////////////////////////////////////////////////////////////
https://www.google.co.kr/search?client=opera&hs=DB&q=파이썬+터틀+예제&sa
https://dojang.io/mod/page/view.php?id=2275
https://opentutorials.org/module/2980/23832
https://opentutorials.org/module/2980/17298
https://m.blog.naver.com/PostView.nhn?
http://blog.naver.com/PostView.nhn - 거북이
https://www.google.co.kr/search?client=opera&q=파이썬+거북이+
///////////////////////////////////////////////////////////////////////////
파이썬 공부하기 - https://jinseok12.tistory.com/19
>>> import random
>>> random.sample(range(1,45),6)
결과 - [22, 27, 40, 18, 16, 24]
>>>
>>>
>>> import random
>>> number=random.sample(range(1,45),6)
>>>print(number)
결과 - [35, 44, 42, 31, 1, 38]
>>>
>>>
>>> import random
>>> random.randint(1,45)
결과 - 2
>>>
>>>
로또복권 만들기 - 1
/////////////////////////////////////////////////////////////
>>> import random
>>> for i in range(6):
print(random.randint(1,45))
결과
12
3
36
15
35
13
>>>
로또복권 만들기 - 2
/////////////////////////////////////////////////////////////////////////////
거북이 사이트
https://www.google.co.kr/search -- https://repl.it/languages/python_turtle
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
import turtle
t = turtle.Pen() 와 아래코드 비교 !
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
행운번호 추첨기
https://repl.it/repls/KindlyUpbeatCookie
https://repl.it/repls/KindlyUpbeatCookie
위의 사이트에서 수정가능 합니다
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
터틀 알고리즘에 대해서
<iframe height="400px" width="100%" src="https://repl.it/repls/CulturedCompatibleOctagons?lite=true" scrolling="no" frameborder="no" allowtransparency="true" allowfullscreen="true" sandbox="allow-forms allow-pointer-lock allow-popups allow-same-origin allow-scripts allow-modals"></iframe>
kkkkk
오전 11:06 2020-05-08 from lee
////////////////////////////////////////////////////////////////////////////////////////////////
- print 함수 사용법 -
print("안녕하세요" , end=" ")
print( )
print( )
/////////////////////////////////////////////////////////////////////////
- end 사용방법의 예 -
※ 참고하기 - 반복되는 for문 사용하기
////////////////////////////////////////////////////////////
거북이 움직이기
from turtle import * import random speed(0) for x in range(1800): a=random.randint(1,360) setheading(a) forward(20)
https://repl.it/repls/DecentUnitedAddons#main.py
출처: https://www.crocus.co.kr/1520?category=239994 [Crocus]
#-*- coding:utf-8 -*-
# 파이썬 GUI용 툴킷 Tkinter를 import
from Tkinter import *
# Tkinter 윈도우 객체 생성
root = Tk()
# (가로 x 세로 + x위치좌표 + y위치좌표)
root.geometry("500x300+300+200")
def callback(number):
print "Button-", number
print 'b1'
# btn1 버튼 클릭시 실행할 메소드는 callback()이고
# 이 메소드로 넘길 paramter 값은 111이다.
# 따라서 btn1 버튼 클릭시 아래 내용 출력된다.
# Button- 111
btn1 = Button(text="One", command=lambda: callback(111))
btn1.configure(font=("Consolas", 15), width=20)
btn1.pack(pady=7)
print 'b2'
btn2 = Button(text="Two", command=lambda: callback(222))
btn2.configure(font=("Consolas", 15), width=20)
btn2.pack(pady=7)
print 'b3'
btn3 = Button(text="Three", command=lambda: callback(333))
btn3.configure(font=("Consolas", 15), width=20)
btn3.pack(pady=7)
# Tkinter 윈도우 화면에 표시
root.mainloop()
출처: https://developer-joe.tistory.com/149
|
have a beautiful day !
오후 3:48 2020-04-02
서울시 재난 긴급생활비 지원 신청 안내
https://wis.seoul.go.kr - https://univ.jinhakapply.com/univ924401.aspx
오후 12:59 2020-04-07
/////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////////
에니헤슬렘 - stilllife - https://www.youtube.com/watch?v=OPTAbdvrurk
http://cafe.daum.net/dspark5516/m5py/236?q=아름다운팝송&re=1
<embed width="250" height="45" src="https://t1.daumcdn.net/cfile/blog/19080D154B72568853" type="audio/x-ms-wma" style="left: 1px; top: 0px; width: 250px; height: 45px;" autostart="true" volume="0" loop="-1" wmode="transparent" x-allowscriptaccess="never" allownetworking="internal" allowscriptaccess="sameDomain">
오전 11:44 2020-04-16
//////////////////////////////////////////////////////////////////////////////////////////////////