def get_price(is_raining): base_price = 100 # 平常價格 if is_raining: return base_price * 1.5 # 下雨加價 else: return base_price # 假設這是天氣API回傳 is_raining = True # 偵測今天有下雨 price = get_price(is_raining) print(f"今日報價:{price}元")

1 Open Issue Need Help Last updated: Aug 6, 2025

Open Issues Need Help

View All on GitHub
Software Development Learning Resources
Ai 27 days ago

AI Summary: The task involves debugging a Python script that is generating a `SyntaxError: unterminated string literal`. The error originates from a line containing an unterminated string literal within a larger project focused on creating a README.md file for a GitHub repository related to an AI system called Storm. The solution requires identifying and correcting the unterminated string on line 74 of the Python script.

Complexity: 2/5
bug enhancement help wanted

def get_price(is_raining): base_price = 100 # 平常價格 if is_raining: return base_price * 1.5 # 下雨加價 else: return base_price # 假設這是天氣API回傳 is_raining = True # 偵測今天有下雨 price = get_price(is_raining) print(f"今日報價:{price}元")