you are supposed to input the first number -> check if its out of a range (10 - 100) -> if yes, print that it is and EXIT THE PROGRAM but if it isnt input second number. if the second number is out of range -> print BOTH NUMBERS (???) are out of range and exit.
literally a gap in the logic. i wanted to fix this by first inputting both numbers and then deciding which is out of range.
jk I loved coding in python back in school
shit was so easy for me
but from what I learnt in school is that even if u are right not to question the teachers unless u wanna get on their bad side then it becomes hell
TL;DR lgtm but...
The division function checks for division by zero but does not handle the case where the result is a non-integer (prob. the reason you received that grade). Changing the print statement to use a floating-point format would be more accurate.
Some function names, such as invalid_choice() and invalid_range_array(), could be more descriptive, like is_choice_invalid() and has_out_of_range_numbers().
Some variable names, such as summed, subtracted, and multiplicitatated, could be simplified to be more consistent and easier to read, like sum_result, difference, and product.
Comments are sparse and could be added for better understanding and maintainability.
The indentation and spacing are mostly consistent, but there are a few inconsistencies that could be cleaned up.
can you bypass VAC with this ?
I used to code in python back in high school but I forgor all of it💀
This is all cool, but why do I now see enemies through walls after installing
She was in the right to give you a B.
It's hard to say if it was fair without knowing how your peers have accomplished the task, but still.
I have 3 main complaints:
1) You need to refactor the code. Why would you have in every arithmetic function the same block?
I'm talking about
numbers = get_array()
if invalid_range_array(numbers) == True:
2) Your code doesn't look clean. You can shorten it by a lot.
3) Why would you give user option to input 2 numbers separately and only then give the error if user had given a number out of range?
izlaz sounds funny as fuck
Awfully long for such a simple task.
she has a small penis and mad because of it
What are you exactly asking?
Too smart for your own good. smh
Back when I took CS in highschool I have never gotten lucky with the teacher.
It's always either someone who reads off a PowerPoint slide and knows jack shit about anything or some ego maniac who only thinks that they are correct and nothing else is valid.
Sometimes you have to stomach this shit and not let it affect you, or if possible, talk to the teachers higher up and find a solution.
After a while I just ignored the teacher and focused on the final exam, in the end it doesn't really matter as long as you achieved the grades.
bro really is trying to make sense of how his teacher grades assignments 💀