![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#21 |
|
Programming Guru
![]() Join Date: Apr 2005
Posts: 1,799
Rep Power: 5
![]() |
Re: Quadratic Formula in Python
But don't be fooled by what "%si" is doing... I'm not sure if it's clicked yet, but it's nothing magical. It's saying "replace %s with one of the variables, and print it next to the letter 'i'".
So print "%si"%("Aaron"), will output "Aaroni", for example. Nothing to do with complex numbers really. Just a trick, that's all. |
|
|
|
|
|
#22 |
|
Newbie
Join Date: Oct 2007
Posts: 17
Rep Power: 0
![]() |
Re: Quadratic Formula in Python
Thank you so much! I feel a lot better on this right now. Wow!!! I am going to experiment on some numbers and plug them on in!
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [tutorial] Python for programming beginners | coldDeath | Python | 30 | Dec 14th, 2005 11:35 AM |
| If you want to learn Python or improve your Python skills | coldDeath | Python | 2 | Nov 23rd, 2005 12:27 AM |
| Convert Python script to C++ code | clanotheduck | Python | 17 | Sep 25th, 2005 8:55 AM |
| Advanced Python Tricks | Arevos | Python | 19 | Sep 24th, 2005 7:39 AM |
| Python - A Programmers Introduction | coldDeath | Python | 17 | Aug 19th, 2005 12:41 PM |