Sort by

recency

|

1013 Discussions

|

  • + 0 comments
    if __name__ == '__main__':
        a = int(input())
        b = int(input())
        print(f"{a//b}\n{a/b}")
    
  • + 0 comments
    print(a//b)
    print(a/b)
    
  • + 0 comments

    Can anyone tell me why testcase 1 is not running (it's showing it is wrong)?

  • + 0 comments

    if name == 'main': a = int(input()) b = int(input()) print(a // b) print(a / b)
    **** * i'm using the discussion section to explain to my self what the code is doing // deals with ineger division and / does flaots

  • + 3 comments

    Why is it every time showing test case wrong although my coding is correct, I have run the same code on Google collab and it's working fine on that ....can anyone help me what is wromg here??!! if name == 'main': a = int(input()) b = int(input()) print("Division:", a // b) print("Float Division:", a / b)