Feb-13-2018, 10:46 PM
It just doesn't work. I am familiar with str(10).
Here is my code. This is driving me crazy.
Here is my code. This is driving me crazy.
#Inputs b = " is awesome" c = 10 list1 =[] output_dict={} input_list = ['mike', 1, 'leon', 2, 'david', 3] #Function def listed(a): if "str" in str(type(a)): d = a + b return (d) else: e = a + c str(e) print (type (e)) return (e) # for x in input_list: list1=listed(x) # list(list1) # print (type (list1)) # # output_dict=zip(list1, input_list) # # printIt just returns class int and because of that I am not able to use the zip function later on.