Factored out topics/complex_numbers constructs to the appropriate places with mobject/, animation/ and scene/

This commit is contained in:
Grant Sanderson
2018-03-31 18:57:21 -07:00
parent 267bfd52dd
commit 73514a2d77
5 changed files with 34 additions and 42 deletions

View File

@ -16,4 +16,7 @@ def initials(name, sep_values = [" ", "_"]):
])
def camel_case_initials(name):
return filter(lambda c : c.isupper(), name)
return filter(lambda c : c.isupper(), name)
def complex_string(complex_num):
return filter(lambda c : c not in "()", str(complex_num))