#๐ Program is crashing
17 messages ยท Page 1 of 1 (latest)
@potent orchid
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.
Program is crashing without error
!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.
@echo falcon
House_Length_m = input("Give the wanted Length of your House!>>")
House_Width_m = input("Give the wanted Width of your House!>>")
Storys_High = input("Give the wanted anmount of storys of your House!>>")
Base_Dimensions = input("Give the square dimensions of your base wall>>")
Roof_Dimensions = input("Give the length dimensions of your roof>>")
Length_Segments = float(House_Length_m) / float(Base_Dimensions)
Width_Segments = float(House_Width_m) / float(Base_Dimensions)
HeightSegments = float(Storys_High) / float(Base_Dimensions)
Horizontal_Roof_Segments = float(House_Length_m) / float(Roof_Dimensions)
L = Length_Segments
W = Width_Segments
H = HeightSegments
R = Horizontal_Roof_Segments
print("Anmount Of Square Length Segments=")
print("Anmount Of Square Width Segments=")
print("Anmount Of Square Height Segments=")
print("Anmount Of Horizontal Roof Segments=")
did you really not read what it said here
and are you sure its crashing it could just be exiting because its done
I'm sorry lol didn't see. And I really dont know anything, how would I stop it from exiting?
add a empty input() statement at the end
lol thanks I really didnt know it would just exit
yeah it does that lol
Have been strugelling with that for 30 min lol
I tought it was because of pyinstaller since I did custom System variables and dont know what I'm doing. Thanks again
No problem!
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.