Python Forum
New with Python. Help with a code
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
New with Python. Help with a code
#1
Hi,
I just registered in this site because I would like to know if it is possible to solve this problem with a simple Python code.
I'm not into programming and my knowledge is very low; I don't even know if it is possible to have a simple code for this problem.
I'm a mathematician and I have to compute a certain function (that has a certain number of variables) with the variables running in a set of values. Is it possible to have a code that print on the screen the values of the function corresponding to the set of variables?
I try to be more clear making an easy example.
Let suppose that I declare the function z=2 * x**4 - 5 * y**3 and I would like that the code prints on the screen all the values of z when, for instance, x and y goes from 1 to 5 (entire values). I expect that the screen shows me the corresponding 25 values of z.
As you can see I don't have any knowledge; I could suppose that this is a really simple problem even if I don't know how to begin.
Can somebody help me?
Thank you
Jason
Reply


Messages In This Thread
New with Python. Help with a code - by jasonkeller1970 - Apr-14-2023, 05:43 PM
RE: New with Python. Help with a code - by buran - Apr-18-2023, 12:31 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020