Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Average score
Post: RE: Average score

I'm almost there but I'm missing something can you tell me what? The error I get from repl.it is Traceback (most recent call last):  File "python", line 30, in <module>  File "python", line ...
MartinEvtimov Homework 5 6,717 Apr-02-2017, 06:15 PM
    Thread: Average score
Post: Average score

So I'm trying to start by asking the user how many scores they would like to enter. Then use a loop to request each score and add it to a total. Finally, calculate and display the average for the ente...
MartinEvtimov Homework 5 6,717 Mar-29-2017, 04:19 PM
    Thread: Leap Year
Post: RE: Leap Year

(Mar-09-2017, 07:07 AM)wavic Wrote: Hello! Put print() in each loop to see where it returns True. For the year 2400, this will happen in the first loop because 2400 % 4 == 0 is True and will print ...
MartinEvtimov General Coding Help 14 24,943 Mar-09-2017, 05:45 PM
    Thread: Leap Year
Post: Leap Year

def get_year():    print("Please input year:")    year = int(input())    return year def if_else(year):    if (year % 4 == 0):      print("It's a leap year")    elif (year % 400 == 0):      print("It...
MartinEvtimov General Coding Help 14 24,943 Mar-09-2017, 06:19 AM
    Thread: Help
Post: Help

My first code is: def GetAge():     print("How old are you? ")     Years = float(input())     return Years      def GetMonths(Years, Months):     Months = Years * 12     return Months def GetDays(Y...
MartinEvtimov General Coding Help 1 8,461 Feb-24-2017, 07:50 AM

User Panel Messages

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