0

How to type ("hi")

how to type

27th Oct 2018, 12:44 PM
8 ball pool sahil
8 ball pool sahil - avatar
5 ответов
28th Oct 2018, 4:36 AM
Kirk Schafer
Kirk Schafer - avatar
+ 1
if you want hi as output then its print("hi") if you want to know what type "hi" is then its print(type("hi"))
27th Oct 2018, 12:50 PM
Mbrustler
Mbrustler - avatar
+ 1
type("hi") gives <class "str"> as output the type of the object you are checking
27th Oct 2018, 12:57 PM
Mbrustler
Mbrustler - avatar
+ 1
You typed man, congratulations
30th Oct 2018, 10:43 AM
I Am Arthur
I Am Arthur - avatar
0
print('hi') print(type('hi') output hi type hi
27th Oct 2018, 12:55 PM
Anup Kumar
Anup Kumar - avatar