Question: in python , cohse the right answer q7: How to create a function correctly in Python? 1- def myFunc () 2- func myFunc () 3-create
in python , cohse the right answer
q7: How to create a function correctly in Python?
1- def myFunc ()
2- func myFunc ()
3-create myFunc ()
4-None of the above
q8: In Python, 'Hello' is the same as "Hello"
1- Yes
2-No
q9 :Suppose you are given two lists:
a = [1,2,3,4,5]
b = [6,7,8,9
The challenge is to create a list containing all the elements a and b in one dimension.
1- a.append (b)
2- a.extend (b)
3- Any of the above
4- None of the above
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
