Posts by Thiago Ishie • 29 points
3 posts
-
0
votes2
answers62
viewsQ: How to use print for special Python characters?
When trying to use print for a special character, I get the following error: print('\') File "<ipython-input-38-eaac87876c3b>", line 1 print('\') ^ SyntaxError: EOL while scanning string…
-
0
votes2
answers2132
viewsQ: How to replace Comma by Point in VBA
How do I replace a comma with a dot using VBA? The following macro does not work: Range("F2").Select Range(Selection, Selection.End(xlDown)).Select Selection.Replace What:=",", Replacement:=".",…
-
2
votes2
answers2151
viewsQ: How to avoid "Missing 1 required positional argument" error when one of the parameters is omitted
I have this function in Python: def v(m1,m2): print(m1) print(m2) It gives an error when I do not enter one of the parameters, for example inserted m1 = [1,2,3] and omitting m2: v([1,2,3]) Missing 1…