= 29/9) If a variable is assigned a new value anywhere within the function’s body, it’s assumed to be a local. An immutable variable change of value will not happen in place. n) print( (0 < 6) or (not (10 == 6) and (10<0) ) ) print(True) Taking the above statement in two separate parts d) (middle > first) and (middle < last) Categorise the following as syntax error, logical error or runtime error: True amount = SI + P b) sum = (length + breadth)/2 Address = { 'Line1': ‘Address line 1', 'Line2':'Address Line2', 'Locality':'Locality Name', 'City':'City Name', 'Pincode':110001, 'Country':'India'}, Give the output of the following when num1 = 4, num2 = 3, num3 = 2 Question 9: >>> ‘,’.join(a) The values of x and y are 5 and 6 respectively. Dictionaries. Question 6: And unlike Tuples and lists, sets can have no duplicate data. where, E ⇒ energy measured in Joule, Answer: # age converted to integer for further calculation b = 6 What is “None” literal in Python ? Answer: Then Simple Interest (SI) = (P x R x T)/ 100. Tuple. Question 3: […] The values of x and y after swapping are 6 and 5 respectively. Question 15: “Manoj\’s” – size is 7 because it is a string having 7 characters enclosed in double quotes. List and String. Getting Started with Python 9. d) Assign the strings ‘Mohandas’, ‘Karamchand’, and ‘Gandhi’ to variables first, middle and last. Yes, Python support data type conversion. Get Full Course Thoery Notes @ Rs. Class XI Computer Science (Book Reference : Sumita Arora) Chapter – 1: GETTING STARTED WITH PYTHON Very Short answer Type Questions Q.1 When was Python released? age = int(input("Enter your age: ")) #Speed of light is known and given in the question Answer: c) stationary =['Paper','Gel Pen','Eraser'] Your email address will not be published. mass = float(input("Enter the mass of object(in grams): ")) Question 4: However, if we have to store the address in a more structured format, we can use dictionary data type as well. Class 11 | Practical Book | Chapter 1: Getting Started with Python - Solutions 159 Write a comment. By simply importing config, the entire global variable defined. OUTPUT: Interactive Mode Programming. The error will arise only when 'interpreter' will run this line. NCERT Solutions for Class 11 Computer Science (Python) – Getting Started with Python, Very Short Answer type Questions [1 mark each]. Therefore, the output will be 1.0. The character with lower Unicode value is considered to be smaller. (e) Dictionary, Question 17: Which mode of Python invoking the interpreter without passing a script file as a parameter ? All you have to do is download the SelfStudys Class 11 NCERT Solution Computer Science Python once for FREE and you are able to go. Enter the rate of interest per annum: 4.5 Nov 26, 2020 - NCERT Solution - Getting Started with Python, Computer Science (Python), Class 11 Class 11 Notes | EduRev is made by best teachers of Class 11. Enter your age: 15 iii) Hundred$:  Invalid - Identifier in Python cannot contain any special character except underscore(_). Question 21: Note:- If the side length is a whole number, the perimeter will always be an integer, however, we should be open to the possibility that the side length can be in decimal as well. Yes, List is a standard data type. OUTPUT: What is the difference between list and tuple ? If more than one word is used as a variable then it can be separated using underscore ( _ ), instead of space. Print a message addressed to the user that tells the user the year in which they will turn 100 years old. num1 = 3        e) print(4.00/(2.0 + 2.0)) Question 3: The primary difference is that a Python list can contain objects of many different types. Enter the alignment degree: 80 What are literals in Python ? num1 = 2 + 9 * (36 - 8) /10  Sequence is an ordered collection of items, indexed by positive integers, It is a combination of mutable and non-mutable data types. Therefore, the values True or False will be sufficient to represent the values. The perimeter of a square: Free Videos Available at: https: //www ... CLASS 11 COMPUTER SCIENCE CBSE CHAPTER 6 GETTING STARTED WITH C++.pdf. Before we discussed the CBSE Class 11 Computer Science NCERT Solutions.Let us check the Class 11 Computer Science Syllabus. Answer: #Printing the total amount num1 = 2 + 25.2            Conditional and Iterative Statements. The distance of a point P(x, y) from the origin is given by x2+y2. OUTPUT: num1 = 6 // 2   Explain String data type. Which of the following identifier names are invalid and why? print("The values of x and y are",x,"and",y,"respectively.") b) Enter the length of the ladder: 20 ‘\a’ – size is 1 as there is one character and it is a string literal enclosed in single quotes. OUTPUT:- num1 = 4 ** 5 Energy = (mass/1000) * c ** 2 Strings in Python are identified as a contiguous set of characters in between quotation marks. #defining two variables “Tuples” are similar to list, but there data can be changed once created through the execution of program. Question 11: The NCERT solutions for Class 11 Computer Science book have been made by Computer Science teacher of one of the best CBSE school in India. Enter the number of days required by B to complete work alone: 10 >>> x= 5 b) num1 = num1 ** (num2 + num3) print(True and True) e) Volume of a sphere (d) abc@123 Does Python support data type conversion ? Getting started with Python 11th Computers CBSE NCERT Chapter 8 Marketing along with videos,solved papers and worksheets.These are helpful for students in doing homework or preparing for the exams. Getting Started with Python 9. Now, the complete equation can be written as If a variable is ever assigned a new value inside the function, the variable is implicitly local, and you need to explicitly declare it as ‘global’. Master the concepts with our detailed explanations & solutions. j) print('Bye' == 'BYE') #Program to tell the user when they will turn 100 Years old Dictionaries. #print the result c ⇒ speed of light in m/s. Introducing Python Pandas. c) Mobile number String Manipulation. The four basic data types are : Question 12: Data Transfer between Files, SQL Databases and Dataframes. Name four Python’s basic data types. Identifiers are not reserverd. print(dis <= 10) Programming Methodology 6. Enter the alignment degree: 0 Get solved question papers of Class 11 from us for better practice. Answer: Question 14: An Integer data type in python is immutable. print("The height reached by ladder with length",length,"feet and aligned at",degrees,"degrees is",height, "feet.") “What’s your name?,” I asked. boil = 100 To some extent, lists are similar to arrays in C. One difference between them is that all the items belonging to a list can be of different data type. Not able to find the chapter you are looking for? Software Concepts 3. Enter the principal: 12500 Enjoy FREE doubts help & video explanations. Ans- Python was developed by Guido Van Rossum. When the radius is 16 cm, the volume of the sphere will be 17164.19 cc. m) print(5 % 10 + 10 < 50 and 29 <= 29) This will result in an error as we cannot pass string representation of float to an int function. To calculate the square root, the equation can be raised to the power 0.5. For example, list((1, 2, 3)) yields [1, 2, 3] and list (‘abc’) yields [‘a’, ‘b’, ‘c’j. l) print(10 + 6 * 2 ** 2 != 9//4 -3 and 29>= 29/9) d) Pocket money x,y = y,x f) num1 = 2 + 9 * ((3 * 12) - 8) /10 Answer: iv) Total Marks: Invalid - Identifier in Python cannot contain any special character except underscore(_). Program: Sets in an unordered collection of values of any type, with no duplicate entry. c) Assign a list containing strings ‘Paper’, ‘Gel Pen’, and ‘Eraser’ to a variable stationery. Therefore, the degree will be converted to radians and then the sin() function will be applied. Check out the latest CBSE NCERT Class 11 Computer Science Syllabus.The syllabus is for the academic year 2020-21 session. 5 % 10 + 10 < 50 The type of output will be a string, not an integer.  # The expression within inner brackets will be evaluated first Jefferson County Obituaries, Heavy-duty Charcoal Grill In Black And Stainless Steel, Alder Wood Guitar, Bosch Art 26 Strimmer Blades, Ancient Rome Vs Modern Rome Map, Why Is My Optoma Projector Flickering, Ipad Piano App, Da Form 1594 Example Cq, Babolat Backpack Pure Strike, Akaroa Dolphins Price, "> = 29/9) If a variable is assigned a new value anywhere within the function’s body, it’s assumed to be a local. An immutable variable change of value will not happen in place. n) print( (0 < 6) or (not (10 == 6) and (10<0) ) ) print(True) Taking the above statement in two separate parts d) (middle > first) and (middle < last) Categorise the following as syntax error, logical error or runtime error: True amount = SI + P b) sum = (length + breadth)/2 Address = { 'Line1': ‘Address line 1', 'Line2':'Address Line2', 'Locality':'Locality Name', 'City':'City Name', 'Pincode':110001, 'Country':'India'}, Give the output of the following when num1 = 4, num2 = 3, num3 = 2 Question 9: >>> ‘,’.join(a) The values of x and y are 5 and 6 respectively. Dictionaries. Question 6: And unlike Tuples and lists, sets can have no duplicate data. where, E ⇒ energy measured in Joule, Answer: # age converted to integer for further calculation b = 6 What is “None” literal in Python ? Answer: Then Simple Interest (SI) = (P x R x T)/ 100. Tuple. Question 3: […] The values of x and y after swapping are 6 and 5 respectively. Question 15: “Manoj\’s” – size is 7 because it is a string having 7 characters enclosed in double quotes. List and String. Getting Started with Python 9. d) Assign the strings ‘Mohandas’, ‘Karamchand’, and ‘Gandhi’ to variables first, middle and last. Yes, Python support data type conversion. Get Full Course Thoery Notes @ Rs. Class XI Computer Science (Book Reference : Sumita Arora) Chapter – 1: GETTING STARTED WITH PYTHON Very Short answer Type Questions Q.1 When was Python released? age = int(input("Enter your age: ")) #Speed of light is known and given in the question Answer: c) stationary =['Paper','Gel Pen','Eraser'] Your email address will not be published. mass = float(input("Enter the mass of object(in grams): ")) Question 4: However, if we have to store the address in a more structured format, we can use dictionary data type as well. Class 11 | Practical Book | Chapter 1: Getting Started with Python - Solutions 159 Write a comment. By simply importing config, the entire global variable defined. OUTPUT: Interactive Mode Programming. The error will arise only when 'interpreter' will run this line. NCERT Solutions for Class 11 Computer Science (Python) – Getting Started with Python, Very Short Answer type Questions [1 mark each]. Therefore, the output will be 1.0. The character with lower Unicode value is considered to be smaller. (e) Dictionary, Question 17: Which mode of Python invoking the interpreter without passing a script file as a parameter ? All you have to do is download the SelfStudys Class 11 NCERT Solution Computer Science Python once for FREE and you are able to go. Enter the rate of interest per annum: 4.5 Nov 26, 2020 - NCERT Solution - Getting Started with Python, Computer Science (Python), Class 11 Class 11 Notes | EduRev is made by best teachers of Class 11. Enter your age: 15 iii) Hundred$:  Invalid - Identifier in Python cannot contain any special character except underscore(_). Question 21: Note:- If the side length is a whole number, the perimeter will always be an integer, however, we should be open to the possibility that the side length can be in decimal as well. Yes, List is a standard data type. OUTPUT: What is the difference between list and tuple ? If more than one word is used as a variable then it can be separated using underscore ( _ ), instead of space. Print a message addressed to the user that tells the user the year in which they will turn 100 years old. num1 = 3        e) print(4.00/(2.0 + 2.0)) Question 3: The primary difference is that a Python list can contain objects of many different types. Enter the alignment degree: 80 What are literals in Python ? num1 = 2 + 9 * (36 - 8) /10  Sequence is an ordered collection of items, indexed by positive integers, It is a combination of mutable and non-mutable data types. Therefore, the values True or False will be sufficient to represent the values. The perimeter of a square: Free Videos Available at: https: //www ... CLASS 11 COMPUTER SCIENCE CBSE CHAPTER 6 GETTING STARTED WITH C++.pdf. Before we discussed the CBSE Class 11 Computer Science NCERT Solutions.Let us check the Class 11 Computer Science Syllabus. Answer: #Printing the total amount num1 = 2 + 25.2            Conditional and Iterative Statements. The distance of a point P(x, y) from the origin is given by x2+y2. OUTPUT: num1 = 6 // 2   Explain String data type. Which of the following identifier names are invalid and why? print("The values of x and y are",x,"and",y,"respectively.") b) Enter the length of the ladder: 20 ‘\a’ – size is 1 as there is one character and it is a string literal enclosed in single quotes. OUTPUT:- num1 = 4 ** 5 Energy = (mass/1000) * c ** 2 Strings in Python are identified as a contiguous set of characters in between quotation marks. #defining two variables “Tuples” are similar to list, but there data can be changed once created through the execution of program. Question 11: The NCERT solutions for Class 11 Computer Science book have been made by Computer Science teacher of one of the best CBSE school in India. Enter the number of days required by B to complete work alone: 10 >>> x= 5 b) num1 = num1 ** (num2 + num3) print(True and True) e) Volume of a sphere (d) abc@123 Does Python support data type conversion ? Getting started with Python 11th Computers CBSE NCERT Chapter 8 Marketing along with videos,solved papers and worksheets.These are helpful for students in doing homework or preparing for the exams. Getting Started with Python 9. Now, the complete equation can be written as If a variable is ever assigned a new value inside the function, the variable is implicitly local, and you need to explicitly declare it as ‘global’. Master the concepts with our detailed explanations & solutions. j) print('Bye' == 'BYE') #Program to tell the user when they will turn 100 Years old Dictionaries. #print the result c ⇒ speed of light in m/s. Introducing Python Pandas. c) Mobile number String Manipulation. The four basic data types are : Question 12: Data Transfer between Files, SQL Databases and Dataframes. Name four Python’s basic data types. Identifiers are not reserverd. print(dis <= 10) Programming Methodology 6. Enter the alignment degree: 0 Get solved question papers of Class 11 from us for better practice. Answer: Question 14: An Integer data type in python is immutable. print("The height reached by ladder with length",length,"feet and aligned at",degrees,"degrees is",height, "feet.") “What’s your name?,” I asked. boil = 100 To some extent, lists are similar to arrays in C. One difference between them is that all the items belonging to a list can be of different data type. Not able to find the chapter you are looking for? Software Concepts 3. Enter the principal: 12500 Enjoy FREE doubts help & video explanations. Ans- Python was developed by Guido Van Rossum. When the radius is 16 cm, the volume of the sphere will be 17164.19 cc. m) print(5 % 10 + 10 < 50 and 29 <= 29) This will result in an error as we cannot pass string representation of float to an int function. To calculate the square root, the equation can be raised to the power 0.5. For example, list((1, 2, 3)) yields [1, 2, 3] and list (‘abc’) yields [‘a’, ‘b’, ‘c’j. l) print(10 + 6 * 2 ** 2 != 9//4 -3 and 29>= 29/9) d) Pocket money x,y = y,x f) num1 = 2 + 9 * ((3 * 12) - 8) /10 Answer: iv) Total Marks: Invalid - Identifier in Python cannot contain any special character except underscore(_). Program: Sets in an unordered collection of values of any type, with no duplicate entry. c) Assign a list containing strings ‘Paper’, ‘Gel Pen’, and ‘Eraser’ to a variable stationery. Therefore, the degree will be converted to radians and then the sin() function will be applied. Check out the latest CBSE NCERT Class 11 Computer Science Syllabus.The syllabus is for the academic year 2020-21 session. 5 % 10 + 10 < 50 The type of output will be a string, not an integer.  # The expression within inner brackets will be evaluated first Jefferson County Obituaries, Heavy-duty Charcoal Grill In Black And Stainless Steel, Alder Wood Guitar, Bosch Art 26 Strimmer Blades, Ancient Rome Vs Modern Rome Map, Why Is My Optoma Projector Flickering, Ipad Piano App, Da Form 1594 Example Cq, Babolat Backpack Pure Strike, Akaroa Dolphins Price, ">

getting started with python class 11 solutions

    print("Invalid value for n, enter only positive values") Using Triple Quotes o(”’ or ” ” “) Conditional and Iterative Statements. hundred = 2020 + (100 - age) Three types of sequence data type available in Phyton are strings, lists and tuples. Cyber Security & Online Security. On the other hand, if global was required for all global references, you will be using global all the time. str = "GOOD MORNING " d) first,middle,last = "Mohandas","Karamchand","Gandhi" print('Water Freezing temperature in Fahrenheit::') print("Subtraction: ",num1-num2) x = y Python allow five types of literals : Question 3: (a) try Short Answer type Questions  [2 mark each]. The array module also provides methods for creating arrays of fixed types with compact representations, but they are slower to index than lists. List Manipulation. Answer: Class 11 Computer Science (Python) NCERT Solutions for Class 11 Computer Science (Python) – Getting Started with Python Very Short Answer type Questions [1 mark each] Computer overview and its Basics 2. For example, tuple([1, 2, 3]) yields (1, 2, 3) and tuple (‘abc’) yields (‘a’, ‘b’, ‘c’). config.py : Though a bit surprising at first, a moment’s consideration explains this. Conditional and Looping Constructs. (b) 123 Hello : Variable names can’t start with a digit. Class 11 | Chapter 1: Getting Started with Python - Solutions. CLASS XI PYTHON COMPUTER SCIENCE. Question 14: Converts x to a long integer, base specifies the base if x is a string. Therefore, the output will be 'False'. OUTPUT:-   num1, num2 = num2, num1 + 2 212.0 arrow_back Getting started with Python. c) (6, 6) Therefore, the first line is just a string concatenation which will give the output 55. Introducing Python Modules. Question 11: They must begin with either a letter or underscore. #formula used as per the question Python Fundamentals. Floor Division:  2 Data Representation 4.    print (num1) a) (0,0)   num2 = num1 + 1 Enter the number of days required by A to complete work alone: 8 g) num1 = 24 // 4 // 2   print (num1) The values of x and y after swapping are 6 and 5 respectively. Answer: (a) Numbers NCERT Solutions for class 11 Science Computer Science solved by subject matter experts. Script Mode Programming. Answer: Yes, pychecker is a static analysis tool that finds bugs in Python source case and warns about code complexity and style. Addition:  11 A list contains items separated by commas and enclosed within square brackets ([ ]). #When floor division is used, return value will be int data type        print(num1) c) num1 **= num2 + num3 Answer: Dictionaries. Question 9: a) num1 += num2 + num3 Program: i) Serial_no. As x being, immutable type, has been rebuild. NCERT Solutions; ... Introduction to Python 8. Question 2: c) (6,6): True 29 <= 29 a = 0 num2 = int(input("Enter second number: ")) Name some commands of Python. b) The boolean data type will be used to represent 'Resident of Delhi or not' as a person will be either a resident of Delhi or not a resident of Delhi. Answer: Python Fundamentals. Algorithms and Flowcharts Unit 3 : Introduction to Python. config.c = 3 Write a Python program to compute the height reached by the ladder on the wall for the following values of length and angle: Creates a disetionary, x must be a sequence of tuples. You will also love the ad-free experience on Meritnation’s NCERT Solutions. (d) Tuple Python’s dictionaries are kind of hash table type. 34 != -1 x days = round(combined,2) You have to declare as global every reference to a builtin function or to a component of an imported module. Introducing Python Modules. e.g. Enter second number: 3 Python’s built-in data type is dictionary, which defines one-to-one relationships between keys and values. print(tb) Applect Learning Systems Pvt. l) print(10 + 6 * 2 ** 2 != 9//4 -3 and 29>= 29/9) If a variable is assigned a new value anywhere within the function’s body, it’s assumed to be a local. An immutable variable change of value will not happen in place. n) print( (0 < 6) or (not (10 == 6) and (10<0) ) ) print(True) Taking the above statement in two separate parts d) (middle > first) and (middle < last) Categorise the following as syntax error, logical error or runtime error: True amount = SI + P b) sum = (length + breadth)/2 Address = { 'Line1': ‘Address line 1', 'Line2':'Address Line2', 'Locality':'Locality Name', 'City':'City Name', 'Pincode':110001, 'Country':'India'}, Give the output of the following when num1 = 4, num2 = 3, num3 = 2 Question 9: >>> ‘,’.join(a) The values of x and y are 5 and 6 respectively. Dictionaries. Question 6: And unlike Tuples and lists, sets can have no duplicate data. where, E ⇒ energy measured in Joule, Answer: # age converted to integer for further calculation b = 6 What is “None” literal in Python ? Answer: Then Simple Interest (SI) = (P x R x T)/ 100. Tuple. Question 3: […] The values of x and y after swapping are 6 and 5 respectively. Question 15: “Manoj\’s” – size is 7 because it is a string having 7 characters enclosed in double quotes. List and String. Getting Started with Python 9. d) Assign the strings ‘Mohandas’, ‘Karamchand’, and ‘Gandhi’ to variables first, middle and last. Yes, Python support data type conversion. Get Full Course Thoery Notes @ Rs. Class XI Computer Science (Book Reference : Sumita Arora) Chapter – 1: GETTING STARTED WITH PYTHON Very Short answer Type Questions Q.1 When was Python released? age = int(input("Enter your age: ")) #Speed of light is known and given in the question Answer: c) stationary =['Paper','Gel Pen','Eraser'] Your email address will not be published. mass = float(input("Enter the mass of object(in grams): ")) Question 4: However, if we have to store the address in a more structured format, we can use dictionary data type as well. Class 11 | Practical Book | Chapter 1: Getting Started with Python - Solutions 159 Write a comment. By simply importing config, the entire global variable defined. OUTPUT: Interactive Mode Programming. The error will arise only when 'interpreter' will run this line. NCERT Solutions for Class 11 Computer Science (Python) – Getting Started with Python, Very Short Answer type Questions [1 mark each]. Therefore, the output will be 1.0. The character with lower Unicode value is considered to be smaller. (e) Dictionary, Question 17: Which mode of Python invoking the interpreter without passing a script file as a parameter ? All you have to do is download the SelfStudys Class 11 NCERT Solution Computer Science Python once for FREE and you are able to go. Enter the rate of interest per annum: 4.5 Nov 26, 2020 - NCERT Solution - Getting Started with Python, Computer Science (Python), Class 11 Class 11 Notes | EduRev is made by best teachers of Class 11. Enter your age: 15 iii) Hundred$:  Invalid - Identifier in Python cannot contain any special character except underscore(_). Question 21: Note:- If the side length is a whole number, the perimeter will always be an integer, however, we should be open to the possibility that the side length can be in decimal as well. Yes, List is a standard data type. OUTPUT: What is the difference between list and tuple ? If more than one word is used as a variable then it can be separated using underscore ( _ ), instead of space. Print a message addressed to the user that tells the user the year in which they will turn 100 years old. num1 = 3        e) print(4.00/(2.0 + 2.0)) Question 3: The primary difference is that a Python list can contain objects of many different types. Enter the alignment degree: 80 What are literals in Python ? num1 = 2 + 9 * (36 - 8) /10  Sequence is an ordered collection of items, indexed by positive integers, It is a combination of mutable and non-mutable data types. Therefore, the values True or False will be sufficient to represent the values. The perimeter of a square: Free Videos Available at: https: //www ... CLASS 11 COMPUTER SCIENCE CBSE CHAPTER 6 GETTING STARTED WITH C++.pdf. Before we discussed the CBSE Class 11 Computer Science NCERT Solutions.Let us check the Class 11 Computer Science Syllabus. Answer: #Printing the total amount num1 = 2 + 25.2            Conditional and Iterative Statements. The distance of a point P(x, y) from the origin is given by x2+y2. OUTPUT: num1 = 6 // 2   Explain String data type. Which of the following identifier names are invalid and why? print("The values of x and y are",x,"and",y,"respectively.") b) Enter the length of the ladder: 20 ‘\a’ – size is 1 as there is one character and it is a string literal enclosed in single quotes. OUTPUT:- num1 = 4 ** 5 Energy = (mass/1000) * c ** 2 Strings in Python are identified as a contiguous set of characters in between quotation marks. #defining two variables “Tuples” are similar to list, but there data can be changed once created through the execution of program. Question 11: The NCERT solutions for Class 11 Computer Science book have been made by Computer Science teacher of one of the best CBSE school in India. Enter the number of days required by B to complete work alone: 10 >>> x= 5 b) num1 = num1 ** (num2 + num3) print(True and True) e) Volume of a sphere (d) abc@123 Does Python support data type conversion ? Getting started with Python 11th Computers CBSE NCERT Chapter 8 Marketing along with videos,solved papers and worksheets.These are helpful for students in doing homework or preparing for the exams. Getting Started with Python 9. Now, the complete equation can be written as If a variable is ever assigned a new value inside the function, the variable is implicitly local, and you need to explicitly declare it as ‘global’. Master the concepts with our detailed explanations & solutions. j) print('Bye' == 'BYE') #Program to tell the user when they will turn 100 Years old Dictionaries. #print the result c ⇒ speed of light in m/s. Introducing Python Pandas. c) Mobile number String Manipulation. The four basic data types are : Question 12: Data Transfer between Files, SQL Databases and Dataframes. Name four Python’s basic data types. Identifiers are not reserverd. print(dis <= 10) Programming Methodology 6. Enter the alignment degree: 0 Get solved question papers of Class 11 from us for better practice. Answer: Question 14: An Integer data type in python is immutable. print("The height reached by ladder with length",length,"feet and aligned at",degrees,"degrees is",height, "feet.") “What’s your name?,” I asked. boil = 100 To some extent, lists are similar to arrays in C. One difference between them is that all the items belonging to a list can be of different data type. Not able to find the chapter you are looking for? Software Concepts 3. Enter the principal: 12500 Enjoy FREE doubts help & video explanations. Ans- Python was developed by Guido Van Rossum. When the radius is 16 cm, the volume of the sphere will be 17164.19 cc. m) print(5 % 10 + 10 < 50 and 29 <= 29) This will result in an error as we cannot pass string representation of float to an int function. To calculate the square root, the equation can be raised to the power 0.5. For example, list((1, 2, 3)) yields [1, 2, 3] and list (‘abc’) yields [‘a’, ‘b’, ‘c’j. l) print(10 + 6 * 2 ** 2 != 9//4 -3 and 29>= 29/9) d) Pocket money x,y = y,x f) num1 = 2 + 9 * ((3 * 12) - 8) /10 Answer: iv) Total Marks: Invalid - Identifier in Python cannot contain any special character except underscore(_). Program: Sets in an unordered collection of values of any type, with no duplicate entry. c) Assign a list containing strings ‘Paper’, ‘Gel Pen’, and ‘Eraser’ to a variable stationery. Therefore, the degree will be converted to radians and then the sin() function will be applied. Check out the latest CBSE NCERT Class 11 Computer Science Syllabus.The syllabus is for the academic year 2020-21 session. 5 % 10 + 10 < 50 The type of output will be a string, not an integer.  # The expression within inner brackets will be evaluated first

Jefferson County Obituaries, Heavy-duty Charcoal Grill In Black And Stainless Steel, Alder Wood Guitar, Bosch Art 26 Strimmer Blades, Ancient Rome Vs Modern Rome Map, Why Is My Optoma Projector Flickering, Ipad Piano App, Da Form 1594 Example Cq, Babolat Backpack Pure Strike, Akaroa Dolphins Price,