File "Desktop\python\newsystem\init.py", line 51, in random_n<br> random_name = a+b+c+d+e+ 'temp.txt'<br>TypeError: unsupported operand type(s) for +: 'int' and 'str'<br><br>import random
<br>def random_name():<br> a = random.randint(0,9)<br> b = random.randint(0,9)<br> c = random.randint(0,9)<br> d = random.randint(0,9)<br> e = random.randint(0,9)<br> random_name = a+b+c+d+e+ 'temp.txt
'<br> return random_name<br>print random_name<br><br>How can i make it so that it adds the random numbers and the temp.txt to random_name variable w/out causing any error?<br>