Semester 6 - chae research log: Difference between revisions

From XPUB & Lens-Based wiki
Line 30: Line 30:


  '''join()'''
  '''join()'''
myTuple = ("J", "P", "V")
x = "#".join(myTuple)
print(x)
J#P#V
<br>
   
   
  '''import re'''<br> re.split() <br> re.escape<br>https://docs.python.org/3/library/re.html#functions
  '''import re'''<br> re.split() <br> re.escape<br>https://docs.python.org/3/library/re.html#functions

Revision as of 10:14, 28 April 2023

LINK

Self-directed

small-files

image for web

to mamang

down grading BG image Display P3
Copyright:copyright Apple Inc 2017
GIMP built-insRGB

headphone-tree

qrcode butterfly

flask study

python study

enumerate()
In Python, a for loop is usually written as a loop over an iterable object. This means you don’t need a counting variable to access items in the iterable. Sometimes, though, you do want to have a variable that changes on each loop iteration. Rather than creating and incrementing a variable yourself, you can use Python’s enumerate() to get a counter and the value from the iterable at the same time! https://realpython.com/python-enumerate/
range()
정수만 받아. 그리고 최대 3가지의 파라미터?를 혹은 argument인가? (정확한 이름 확인하기)를 받을 수 있어. 즉 시작하는 숫자, 끝나는 숫자, 그리고 step.
len()
길이를 뜻해. 숫자로 표시됨.
join()
myTuple = ("J", "P", "V")
x = "#".join(myTuple)
print(x)
J#P#V

import re
re.split()
re.escape
https://docs.python.org/3/library/re.html#functions

call service

research log

tutorial with M and J and M and A and C

17-23 APRIL 2023

24-30 APRIL 2023

1-7 MAY 2023

8-14 MAY 2023