Oct-26-2021, 11:28 AM
How to Compile a program that requires the user to enter two integers A and B. The program outputs all numbers between A and B in descending order and their 2nd, 3rd, and 4th degrees/ in power.
Tnx!
Tnx!
How to compile following python loop program
|
Oct-26-2021, 11:28 AM
How to Compile a program that requires the user to enter two integers A and B. The program outputs all numbers between A and B in descending order and their 2nd, 3rd, and 4th degrees/ in power.
Tnx!
Oct-26-2021, 12:03 PM
So, what have you tried? This looks like Homework question, so I will now move it to respective sub-forum.
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link Create MCV example Debug small programs
Oct-26-2021, 07:56 PM
Also, Python is an interpreted language, so do you really mean compile? Install, change to .exe, for what platform? I bet you just mis-spoke.
Oct-27-2021, 01:57 PM
Make two functions. One to ask the user for a number, and one to do the looping + calculation + output.
Almost dead, but too lazy to die: https://sourceserver.info
All humans together. We don't need politicians! |
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Using If Statements Instead of While Loop in Simple Game Program | new_coder_231013 | 5 | 3,140 |
Dec-14-2021, 12:23 AM Last Post: supuflounder |
|
RockPaperScissor program while loop malfunction | tonyliang19 | 3 | 2,857 |
Apr-03-2020, 11:09 PM Last Post: SheeppOSU |
|
Program that, inside a loop, does multiple things. needs to print in a certain way | reidmcleod | 1 | 2,664 |
Feb-19-2019, 02:35 PM Last Post: marienbad |