Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 环比
- 서식 오류
- Corkage
- English Diary
- End of life
- 인민정협
- 명언
- 너무많은 서식
- 엑셀
- 증가율 마이너스
- 영어일기
- 코키지
- OPIc
- 반입주 비용
- 콜키지
- 엑셀 증감율
- 제품단종
- 엑셀 서식 오류
- 同比
- 맥북 캡처
- 엑셀 증가율
- 엑셀 시작표시줄
- 중협
- excel
- 开瓶费
- python 진짜 초보
- HoH
- python 菜鸟
- 윈10
- python 学习
Archives
- Today
- Total
Jay's Another Memory
beginning python 01 : (파이썬 공부; python 学习) 본문
파이썬 공부하며 정리하고자 남김.
this is python self study record.
파이썬 또는 파이썬 코드 입력 후 실행이 가능한 app 설치완료되어있어야 함.
need to installed python or code reading APP already.
code | remark |
case1) print ("our home bring animal dog his name is") print(yti) print("he has 4 years old") print("and he likes walk") |
after run code, can see inside " .... " content. if there's no changes, you can do like that, more simply. |
case2) name = "yti" animal = "dog" age = 4 hobby = "walk" print ("our home bring animal" + animal + " his name is") print(name) print("he has " + str(age) + " years old") print("and he likes" + hobby) |
if there's possibilties to change, need to you variable (변수,变数) so that can just changes main area, can changes whole result. remind)) 1. text and var cannot use with. so change var -> str. 2. if needs empty area, add in " " inside in advance. *if use add contents by "," then dont need use str(). |
case2-1) name = "nabi" animal = "cat" age = 2 hobby = "ya woong" print ("our home bring animal" + animal + " his name is") print(name) print("he has " + str(age) + " years old") print("and he likes" + hobby) |
completed change after revise black area. |
use ,
Comments