Advertisement
Draqun

pa_simple_data_input

Nov 10th, 2018
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.38 KB | None | 0 0
  1. #!/usr/bin/env python3
  2.  
  3. int_number: int = input("Give me some integer: ")
  4. float_number: float = input("Give me some float: ")
  5. some_string: str = input("Give me some string: ")
  6.  
  7. print("int_number is instance: {}".format(type(int_number).__name__))
  8. print("float_number is instance: {}".format(type(float_number).__name__))
  9. print("some_string is instance: {}".format(type(some_string).__name__))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement