Question

i. T F Python lists are mutable, but strings are not ii. T F len() function is used to find the length of strings and lists iii. T F Python comments start with the symbol # iv. T F A function can return only integer type values v. T F In Python "4" + "5" is "45" vi. T F range(start, end) function does not include the end value inthe sequence generated vii. T F A list can hold any type of elements vii.F Opening a file in "w" mode will clear the contents of the file ix.T F"in" keyword is used to check for membership in strings x. T F Strings are not iterableх. Т xi. T F The output will show "True" for the expression: "abc"> "aaa" xii. T F The output will show "True" for the expression:[1.2.'one'.'two'l<(3.4.5.61 xiv. T F Given, X=3, the expression (X>2) or (X>5) yields “True" хiv.T F Given, X=3, the expression (X>2) or (X>5) yields “True" XV.F In Python, to access the type of a variable, you can use thetype () function.

Fig: 1

Fig: 2

Fig: 3

Fig: 4

Fig: 5

Fig: 6

Fig: 7

Fig: 8

Fig: 9

Fig: 10

Fig: 11

Fig: 12

Fig: 13

Fig: 14

Fig: 15


Answer

Verified

This question hasn't been solve yet

Ask this Answer to the tutor.

only $12 $10

OR

Submit a new Query

Please Add files or description to proceed

Success

Assignment is successfully created

00