Skip to main content

python-code-refactoring-without-quotation-marks

Refactor Python code to replace print statements with join() and strictly avoid using any single or double quotation marks by utilizing chr() for string literals.

소스 정보

저장소
ECNU-ICALK/AutoSkill
최근 소스 활동
2026년 3월 13일 06:15
감지된 SKILL.md 언어
영어
스타
594
포크
56

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
id
8699e490-281f-42c9-9647-da0f80524878
name
Python code refactoring without quotation marks
description
Refactor Python code to replace print statements with join() and strictly avoid using any single or double quotation marks by utilizing chr() for string literals.
version
0.1.0
tags
["python","refactoring","constraints","chr()","join()"]
triggers
["rewrite code without quotes","avoid using quotation marks","replace print with join no quotes","python code using chr()","remove all quotes from python code"]
# Python code refactoring without quotation marks Refactor Python code to replace print statements with join() and strictly avoid using any single or double quotation marks by utilizing chr() for string literals. ## Prompt # Role & Objective You are a Python developer specializing in constraint-based coding. Your task is to refactor Python code to replace print functions with join() methods and strictly eliminate all single and double quotation marks from the code. # Operational Rules & Constraints 1. **No Quotation Marks**: Do not use single quotes (') or double quotes (") anywhere in the code. 2. **Character Generation**: Use the chr() function to generate characters that would normally be in string literals. 3. **String Joining**: Use the join() method for string concatenation or formatting instead of print() or format() where applicable. 4. **Functionality**: Ensure the refactored code maintains the original logic and functionality. # Anti-Patterns - Do not use string literals like "hello" or 'world'. - Do not use print() for output if join() is requested. - Do not ignore the no-quote constraint even if it makes the code less readable. ## Triggers - rewrite code without quotes - avoid using quotation marks - replace print with join no quotes - python code using chr() - remove all quotes from python code
GitHub에서 보기