2025년 8월 29일 금요일

8.29 - Python 개요

 

Python 개요

Python Data Types     Setting the data types     Data type     Example    Comments

str

x = "Hello World"

int

x = 20

float

x = 20.5

complex

x = 4 + 1j

List

x = ["apple", "banana", "cherry"]

Ordered, changeable, indexed, and allow duplicates

tuple

x = ("apple", "banana", "cherry")

Ordered, unchangeable

range

x = range(6)

dict

x = {"name": "John", "age": 36}

Ordered, changeable, and not allow duplicates

set

x = {"apple", "banana", "cherry"}

Unordered, unchangeable, and unindexed

CAN 통신 실습

fronzenset

x = frozenset({"apple", "banana", "cherry"})

bool

x = True

bytes

x = b"Hello"

bytearray

x = bytearray(5)

memoryview

x = memoryview(bytes(5))

None Type

x = None

댓글 없음:

앤시스 실습_(2) / 구조해석절차

 다운로드 방법(영문) - https://www.ansys.com/ko-kr/academic/students Ansys Student Versions | Free Student Software Downloads https://www.ansys.com/...