Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Need help with loops!
Post: RE: Need help with loops!

I'll keep that in mind in the future. Back to it, I've been doing my reading and was thinking this might be easier? for x in range(sValue, eValue, iValue): print(x)including the same inputs as b...
Funnypants Homework 5 3,042 Dec-03-2018, 07:41 PM
    Thread: Need help with loops!
Post: RE: Need help with loops!

we've just learned about functions a bit. can you describe/show me how that helps?
Funnypants Homework 5 3,042 Dec-03-2018, 05:50 PM
    Thread: Need help with loops!
Post: Need help with loops!

So i have an assignment to count in increments and display them. here is what I have : play= True while play: try: sValue=int(input("Enter the starting value --> ")) except Valu...
Funnypants Homework 5 3,042 Dec-03-2018, 04:53 PM
    Thread: I can't figure out simple rounding to 2 decimal places!
Post: RE: I can't figure out simple rounding to 2 decima...

I think it works my way, I tested a bunch of numbers and the output matches the criteria for the assignment. My brains done for the day anyway so I'll take what I get for the grade (I'm sure it's fine...
Funnypants Homework 7 3,362 Nov-01-2018, 01:28 AM
    Thread: I can't figure out simple rounding to 2 decimal places!
Post: RE: I can't figure out simple rounding to 2 decima...

Ok. So for the random new guy like me, here's what I figured out. I was having issues rounding float numbers to simple double digit decimals. So instead of seeing numbers like 139.89999999 or somethin...
Funnypants Homework 7 3,362 Nov-01-2018, 01:00 AM
    Thread: I can't figure out simple rounding to 2 decimal places!
Post: RE: I can't figure out simple rounding to 2 decima...

Thank you for looking but I believe I've finally figured it out. Will delete this thread if I can otherwise (since i'm new around these parts) if a mod handles that please do. Thanks!
Funnypants Homework 7 3,362 Oct-31-2018, 10:51 PM
    Thread: I can't figure out simple rounding to 2 decimal places!
Post: I can't figure out simple rounding to 2 decimal pl...

So I missed the day of class where they went over rounding and I can't seem to get my code to always round to 2 decimal places. I'm new to python and coding in general so go easy on me, i'm sure it's...
Funnypants Homework 7 3,362 Oct-31-2018, 10:28 PM

User Panel Messages

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