-
[MS azurethon] 동물사진 맞추기 프롬프트
※해당 게시물은 2023 ChatGPT Microsoft Azurethon 출품작으로 제출했습니다. 🛫팀 이름: skytin1004 🛫팀장 아이디: sms7950@gmail.com 목차 동물사진 맞추기 프롬프트 소개 동물사진 맞추기 프롬프트 설명 ChatGPT 진행 정확성을 위한 프롬프트 개선 1.동물사진 맞추기 프롬프트 소개 유치원에서는 어린이들에게 다양한 프로그램을 체험시키기 위해 회사가 제공하는 유아교육 프로그램을 이용할 수 있습니... Read More
-
[MS azurethon] 공급망 최적화 프롬프트
💎프롬프트 엔지니어링 서비스 분야에서 수상했습니다. ※해당 게시물은 2023 ChatGPT Microsoft Azurethon 출품작으로 제출했습니다. 🛫팀 이름: skytin1004 🛫팀장 아이디: sms7950@gmail.com 목차 Microsoft Azurethon 이란? 제출한 프롬프트 2023 ChatGPT MS Azurethon 동기 산업공학과 ChatGPT의 연결 2023 ChatGPT MS Azurethon 후기 공급망 최적화 프롬프트 소개 SCM(Supply Chain ... Read More
-
[Python] 파이썬 bin 함수 정리하기
bin 함수 정의 bin함수는 10진수의 정수를 2진수의 문자열로 변환하는 함수입니다. bin 함수 용도 bin함수는 10진수를 2진수로 변환할 때 사용합니다. bin 함수 사용법 : bin(10진수) bin함수는 10진수를 정수형이 아닌 문자열로 변환하는 함수이므로 유의해서 사용합니다. bin함수 예시 10진수 정수 10을 bin함수에 집어넣고 출력하겠습니다. bin함수의 결과값이 어떤 타입으로 나오는지 확인하고자 print(type(result)) 코드를 넣었습니다. result = bin(10) print(result) print(type(result)) 실행결과 0b1010 <c... Read More
-
[Python]'NoneType' object is not iterable
코딩테스트 연습문제를 풀던 도중에 아래와 같은 문제가 발생했습니다. 'NoneType' object is not iterable 코드 어디에 문제가 있었는지 확인해봤는데 다음과 같은 문제가 있었습니다. 의심스러운 부분 U_list와 nU_list의 타입을 출력했습니다. from collections import deque U_list =deque("ABCDEFGHIJKLMNOPQRSTUVWXYZ") # U_list는 대문자 알파벳으로 이루어진 deque 리스트이다. nU_list=U_list.rotate(-4) #nU_list는 U_list를 4번 왼쪽으로 회전시킨 deque 리스트를 대입한 것이다.(착각... Read More
-
[Python] 파이썬 최빈값 구하기
파이썬 최빈값 설명 최빈값은 주어진 자료에서 가장 많이 등장하는 값입니다. 최빈값은 하나이거나 여러개 이거나 아니면 존재하지 않을 수 있습니다. 최빈값이 하나인 경우: number=[1,1,1,2,2,3] number 리스트를 참고했을 때 리스트에서 가장 많이 등장하는 값은 1 이므로 number리스트의 최빈값은 1이라고 할 수 있습니다. 최빈값이 여러개인 경우: number=[1,1,2,2,3,4] number 리스트를 참고했을 때 리스트에서 1이 두 번, 2가 두 번, 3,4는 각각 한 번 등장했으므로 number리스트의 최빈값은 1,2라고 할 수 있습니다. 최빈값이 존재하지 않는 경우: 모든 원소가 같거... Read More