Kelas Pemindai di Python

# I believe you are asking if a similar class to the java.util.Scanner class exists in 
# python. The Scanner class in Java is used to read input from the console and it must
# be imported to use. 
# In Python, the reading of an input is built in and always returns a string object.

# Get input with no text being printed to the screen when asking for input
value = input()
print(value)

# Get input with text being printed to the screen when asking for input
value2 = input('Please input your text: ')
print(value2)

# You will need to convert the input to the desired format using the each types converter
# int(value) for int
# float(value) for float
# str(value) for string
# There are others
YEP Python