Computer Science, asked by paulnairit96p74usb, 4 months ago

Write a program that will obtain the value of a variable A from user and create a tuple Tpl=(A,A,A,A“).
plzz urgent I have exam today.​

Answers

Answered by jai696
2

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

tpl = tuple([(a := input("a: "))] * 4)

print("tpl:", tpl)

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

Answered by amritamohanty918
1

Answer:

Use Python 3

tpl = tuple([(a := input("a: "))] * 4)

tpl = tuple([(a := input("a: "))] * 4)print("tpl:", tpl)

Similar questions