Skip to content

Instantly share code, notes, and snippets.

View cepe's full-sized avatar

Paweł Chwała cepe

  • Wrocław (Poland)
View GitHub Profile
import math
def without_zeros(nums):
return [num for num in nums if "0" not in num]
def squares(n):
beginning = int(math.ceil(math.sqrt(10 ** (n - 1))))
ending = int(math.ceil(math.sqrt(10 ** n - 1)))