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.06 - 앤시스 실습-시작 플로우차트

  앤시스(ANSYS) 프로그램 실습 은 “무작정 버튼 누르기”보다 **정해진 사고 흐름(Workflow)**을 먼저 잡아두면 이해 속도가 확 달라집니다. Workbench 실행  ↓ Analysis System 선택  ↓ Project Schemat...