Job Hernandez
2015-07-29 03:29:00 UTC
How is it going tutors?
The following problem seems impossible to me:
"*Write a program that asks the user to enter an integer and prints two
integers, root and pwr, such that 0 < pwr < 6 and root^pwr (root**pwr) is
equal to the integer entered by the user. If no such pair of integers
exists, it should print a message to that effect*."
I would like to solve this problem myself so please don't give me the
solution.
I need to learn how in the world do find the root and power of an integer
that x user entered? I haven been looking on the python website for an
appropriate function but I have not.
If you have the time can you please tell me about the functions and other
facts I need to know in order to solve this problem?
Is there a book you guys recommend for total beginners who have no ideal of
what computer science and programming is?
Thank you,
Job
_______________________________________________
Tutor maillist - ***@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
The following problem seems impossible to me:
"*Write a program that asks the user to enter an integer and prints two
integers, root and pwr, such that 0 < pwr < 6 and root^pwr (root**pwr) is
equal to the integer entered by the user. If no such pair of integers
exists, it should print a message to that effect*."
I would like to solve this problem myself so please don't give me the
solution.
I need to learn how in the world do find the root and power of an integer
that x user entered? I haven been looking on the python website for an
appropriate function but I have not.
If you have the time can you please tell me about the functions and other
facts I need to know in order to solve this problem?
Is there a book you guys recommend for total beginners who have no ideal of
what computer science and programming is?
Thank you,
Job
_______________________________________________
Tutor maillist - ***@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor