Challenge #4 - Python: Division

if __name__ == '__main__':
    a = int(input())
    b = int(input())

    print(a//b)  # returns the floor division of the answer 
                      # 9//2 = 4 (floor value of 4.5)
    print(a/b)

Comments

Popular posts from this blog

Challenge - #48 - Incorrect Regex

Challenge - #43 - Time Delta