|
|
back to boardДля решения через regex wrong answer Posted by Igor 12 Dec 2021 05:18 import re pattern = re.compile(r"\d+") matches = re.findall(pattern, input()) for i in matches[::-1]: print(f"{float(i)**0.5:.4f}") Input: " 1427 0 \n 876652098643267843 \n5276538" |
|
|