#๐ Homework Help
21 messages ยท Page 1 of 1 (latest)
@jade flint
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
One moment as it deleted everything I typed
ahhh it doesn't allow files is why... (I just did it agian...)
so whats going on with my progam is that it seems to work as the assignment wants it to
!paste
If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/
After pasting your code, save it by clicking the Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.
However the assignment has a test program and it says my program fails the test, I tested some of the numbers it uses to test my progam and it seems to visually do what the test progam is looking for
the goal of the progam is to take 2 inputs from one line the user puts in, then mulitply them, then spit out the answer after the user enters something
#POTD skel
# Author: Camrin
# Date: 1/14/2025
# Description:
num1,num2=(input().split())
print("What is " + num1 + " * " + num2 + " ?")
input()
print(num1 + " * " + num2 + " is",int(num1)*int(num2))
^test file
and heres what it spits out at me https://paste.pythondiscord.com/P6CQ
Its the backtick character not a quote above "tab" on qwerty keyboards :)
THANK YOU
Py on the same line as the first 3 backticks
Thank you got it!
I've been staring at what the test file spits out and it seems like something is going on with what its inputting into my code, but I don't really now what, is it something with the comma in the test file??
I have not worked with testing all that much but to me it seems like the test file is inputing a blank line instead of the numbers
Oh?
This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.