Avatar ·

replace the number in the line

📁 python, вопрос

x = ['27342837429']. Replace any digit in a line below 5 by & laquo; 0 & raquo;, and any number 5 or higher on & laquo; 1 & raquo;.