What will be the output of the following code? | Tuples Que. 26

26. What will be the output of the following code?

t1=("hello","everyone","include helps","welcomes","you","all")
del t1
print(t1)
  1. name 't1' is not defined
  2. ("hello","everyone","include helps","welcomes","you","all")
  3. Hello, everyone, include helps

Answer: A) name 't1' is not defined

Explanation:

Since the del t1 command is there so it will delete the entire t1 tuple so when you will print the t1 it will show you the- name 't1' is not defined.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.