Jump to content

ydoaPs

Moderators
  • Posts

    10567
  • Joined

  • Last visited

  • Days Won

    2

ydoaPs last won the day on September 22 2021

ydoaPs had the most liked content!

1 Follower

About ydoaPs

  • Birthday 04/21/1988

Profile Information

  • Location
    Local Group
  • College Major/Degree
    BA in Philosophy
  • Favorite Area of Science
    Physics
  • Biography
    Grad school dropout and stay at home dad
  • Occupation
    Stay at home dad

Retained

  • The Oncoming Storm

Recent Profile Visitors

101207 profile views

ydoaPs's Achievements

SuperNerd

SuperNerd (12/13)

1.6k

Reputation

Single Status Update

See all updates by ydoaPs

  1. Nitric and I went over it and here's something for you to look over

     

    #!/usr/bin/python

     

    #Filename: func_doc.py

     

    def printMax(x, y, z):

    x=int(x) #convert input to integers, if possible

    y=int(y)

    z=int(z)

    if x > y and x > z:

    print(x, 'x is maximum')

    elif y > x and y > z:

    print(y, 'y is maximum')

    elif z > x and z > y:

    print(z, 'z is maximum')

    elif x == y and x > z:

    print(x, 'x and y are maximum')

    elif x == z and x > y:

    print(x, 'x and z are maximum')

    elif y == z and y > x:

    print(y, 'y and z are maximum')

    else:

    print(x, 'x, y and z are all equal')

     

     

    printMax(input('Enter first integer:'), input('Enter second integer:'), input('Enter third integer:'))

     

    printMax(input('Enter first integer:'), input('Enter second integer:'), input('Enter third integer:'))

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.