사용자 도구

사이트 도구


python

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

다음 판
이전 판
python [2018/11/22 10:55] – created icanpython [2022/06/01 12:03] (현재) – [Get last result in the interactive python shell] ican
줄 1: 줄 1:
 ====== Python ====== ====== Python ======
 +2021년 부터는 Python3가 main stream으로 자리를 잡아가고 있다. 
 ===== Get last result in the interactive python shell ===== ===== Get last result in the interactive python shell =====
  
 <code language=python> <code language=python>
-1+2 +In [1]: 1+2 
-+Out[1]: 
-+ 
-3+In [2]: 
 +Out[2]: 3
 </code> </code>
  
 +f-string
 +<code language=python>
 +test = 4
 +print(f'{test=}')
 +
 +test = 4 
 +</code>
  
python.1542851716.txt.gz · 마지막으로 수정됨: 저자 ican