Sort by

recency

|

975 Discussions

|

  • + 0 comments

    For Python3 Platform

    a = int(input())
    b = int(input())
    
    print(a//b)
    print(a/b)
    
  • + 1 comment
    a = int(input())
    b = int(input())
    if b != 0:
        print(a//b) #or print(int(a/b))
        print(a/b)
    
  • + 0 comments

    if name == 'main': a = int(input()) b = int(input()) print(a//b) print(a/b)

  • + 0 comments
    if __name__ == '__main__':
        a = int(input())
        b = int(input())
        print(int(a/b))
        print(float(a/b))
    
  • + 0 comments

    print(a // b, a / b, sep='\n')