Pass an assignment during program


Hello,

I have a polynomial class.when you type p=polynomial(......) you create a p polynomial.This is easy and I have done all stuff up to here.The problem is I have a program which calls that polynomial class and asks the user enter a polynomial just as you type >>> p=polynomial(.....) then it assigns a p polynomial.How can I do this???

Regards

Comments

  • : I have a polynomial class.when you type p=polynomial(......) you create a p polynomial.This is easy and I have done all stuff up to here.The problem is I have a program which calls that polynomial class and asks the user enter a polynomial just as you type >>> p=polynomial(.....) then it assigns a p polynomial.How can I do this???

    You can use the raw_input() function to prompt the user to enter a value.


    [size=5][italic][blue][RED]i[/RED]nfidel[/blue][/italic][/size]

    [code]
    $ select * from users where clue > 0
    no rows returned
    [/code]

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion