You've successfully subscribed to The Poor Coder | Hackerrank Solutions
Great! Next, complete checkout for full access to The Poor Coder | Hackerrank Solutions
Welcome back! You've successfully signed in.
Success! Your account is fully activated, you now have access to all content.
Home
Author
Terms
Privacy
About
Tumblr
Pinterest
Enable dark mode
Floor, Ceil and Rint
Beeze Aal
28.Jul.2020
Hackerrank Floor, Ceil and Rint Solution
Solution in python3Approach 1. import numpy a = numpy.array(input().split(),float) print(numpy.floor(a),numpy.ceil(a),numpy.rint(a),sep="\n")Approach 2. from numpy import * A = array([float(x) for x in input().split()],float) print(floor(A),ceil(A),rint(A),sep = '\n')Approach