the python programme is to simply accept '5 (input)' from user and print out 'n+nn+nn' but i have some how made one tuple and a list pls correct me where is the problem n = int(input('pls input the number\n')) n = 5 a1 = f'{n}' a2 = f'{n}{n}' a3 = f'{n}{n}{n}' answer = a1,a2,a3.split() new = int(answer) for stuff in answer: print(stuff) print(sum(stuff))
Answers
Answered by
1
Answer:
hey mate it would be better if you search the answer from google I hope you will solve your problem very quickly
Similar questions