File tree Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Original file line number Diff line number Diff line change 3232 " print(val) "
3333 ]
3434 },
35+ {
36+ "cell_type" : " code" ,
37+ "execution_count" : 4 ,
38+ "metadata" : {},
39+ "outputs" : [
40+ {
41+ "name" : " stdin" ,
42+ "output_type" : " stream" ,
43+ "text" : [
44+ " Enter number : 1\n "
45+ ]
46+ },
47+ {
48+ "name" : " stdout" ,
49+ "output_type" : " stream" ,
50+ "text" : [
51+ " 1\n "
52+ ]
53+ },
54+ {
55+ "name" : " stdin" ,
56+ "output_type" : " stream" ,
57+ "text" : [
58+ " Enter name : Soumyadip\n "
59+ ]
60+ },
61+ {
62+ "name" : " stdout" ,
63+ "output_type" : " stream" ,
64+ "text" : [
65+ " Soumyadip\n " ,
66+ " type of number <class 'str'>\n " ,
67+ " type of name <class 'str'>\n "
68+ ]
69+ }
70+ ],
71+ "source" : [
72+ " # Program to check input \n " ,
73+ " # type in Python \n " ,
74+ " \n " ,
75+ " num = input (\" Enter number :\" ) \n " ,
76+ " print(num) \n " ,
77+ " name1 = input(\" Enter name : \" ) \n " ,
78+ " print(name1) \n " ,
79+ " \n " ,
80+ " # Printing type of input value \n " ,
81+ " print (\" type of number\" , type(num)) \n " ,
82+ " print (\" type of name\" , type(name1)) \n "
83+ ]
84+ },
3585 {
3686 "cell_type" : " code" ,
3787 "execution_count" : null ,
You can’t perform that action at this time.
0 commit comments