Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Imported function causes prompt repetition
Post: RE: Imported function causes prompt repetition

Thanks for your quick response, micseydel. Detenting the last line repaired the problem, and all is running properly now. The corrected function is def getFloat( prompt ): while True: tr...
ward Homework 3 2,568 Feb-06-2019, 12:05 AM
    Thread: Imported function causes prompt repetition
Post: Imported function causes prompt repetition

I have an assignment to prompt for three numbers, then print the largest, smallest, and average of the numbers. I'm to allow floating-point numbers, so I'm importing a module to accommodate that. Her...
ward Homework 3 2,568 Feb-05-2019, 11:32 PM
    Thread: Confused by order of operations
Post: RE: Confused by order of operations

Thanks for your answer, ichabod801. If I were to edit the tutorial, I'd have said "Parentheses, Exponents, Multiplication/Division, Addition/Subtraction" to convey that the latter sequences are not st...
ward General Coding Help 4 2,660 Jan-22-2019, 08:40 PM
    Thread: Confused by order of operations
Post: Confused by order of operations

I'm doing a seminar to learn Python, and I've been asked to predict the result of this code:print ( 5*2 - 3+4/2 )The lesson explained the order of operations as Parentheses, Exponents, Multiplication ...
ward General Coding Help 4 2,660 Jan-22-2019, 08:08 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020