Hey guys, wondering if I could ask, is this sentence grammarically correct? In particular, I'm worried about the commas before the 'but' and after 'defeat'
> If I had not faced failure, but instead been consoled or sheltered from defeat, I never would have spent time learning.
@Οurous you're totally right, but it was done intentionally. The context is I am interviewing students for a very competetive STEM club at my high school and those who claimed to know C on their application are being tested. As long as the applicants get a 2/3 we are fine. If they switch o1 and o2 values, we will only take off 1 point (not two even though both are technically wrong).
If anyone wants to test dummy this quiz ill be giving out.. it would be greatly apreciated. Please try to complete it in 1 minute and let me know how it goes. If you guys can't solve it in that time I'm certain the intended audience won't either.
mini challenge!!! can someone make this python3 program into one line? (without using a semicolon). Or is two lines the limit?- val = int(100 * float(input("O hai! How much change is owed? "))) print(val//25 + (val%25)//10 + (val%25%10)//5 + val%25%10%5)