Post Reply 
Python, how to input a complex number
04-29-2021, 05:04 PM
Post: #3
RE: Python, how to input a complex number
Hello Stevetuc,
Thank you for your answer. I have also tried this in many ways. Also to use “complex ()” separately. Also tried with “from builtins import *”.
Always the same error message.
If you read the help info at “complex” we talk about that if the first parameter is a string, the second should not be a string ??. Input returns a complete string.
I don't really get any wiser from the help info.
Maybe Cyrille can tell me (us) about this, if he has the time !

— Dirk Hartland
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Python, how to input a complex number - Dirk.nl - 04-29-2021 05:04 PM



User(s) browsing this thread: 1 Guest(s)