Computer Science, asked by vasugoel2772, 2 months ago

WAP in python enter 10 names in a tuple from keyboard, then display only unique names from that tuple.​

Answers

Answered by jai696
1

\huge\red{\mid{\fbox{\tt{Using\: Python\: 3}}\mid}}

names = tuple([input(f"name_{x}: ") for x in range(1, 11)])

print("\n".join(list(set(names))))

\large\mathsf\color{lightgreen}useful?\: \color{white}\longrightarrow\: \color{orange}brainliest!

Similar questions