Is it possible to nest the while loop within for loops00On November 20, 2020November 20, 2020By admin_adminIn Uncategorized A. Is it possible to nest the while loop within for loops? B. When is the break statement used?...
a program that asks for input n and prints a sequence of powers of 5 from 5^0 to 5^00On November 20, 2020November 20, 2020By admin_adminIn Uncategorized A.Write a program that asks for input n and prints a sequence of powers of 5 from 5^0 to 5^n...
integer and count the number of decimal00On November 20, 2020November 20, 2020By admin_adminIn Uncategorized A. Write a program using the while loop to read the positive integer and count the number of decimal digits...
a program in small independent modules00On November 20, 2020November 20, 2020By admin_adminIn Uncategorized A. True or False 1. A function divides a program in small independent modules. 2. The syntax of Python...
eval_Quadratic_Equa(a, b, c, x) which returns the value of any quadratic00On November 20, 2020November 20, 2020By admin_adminIn Uncategorized A. Write a function eval_Quadratic_Equa(a, b, c, x) which returns the value of any quadratic equation of form ax2...
create an empty string00On November 20, 2020November 20, 2020By admin_adminIn Uncategorized A. True or False 1. We cannot create an empty string. 2. The negative index accesses characters from the...
an index operator00On November 20, 2020November 20, 2020By admin_adminIn Uncategorized A.How to create a string using a constructor of the str class? B. What is an index operator? How...
the function Echo_Word(word)00On November 20, 2020November 20, 2020By admin_adminIn Uncategorized A.Write the function Echo_Word(word) which takes a word as the argument and returns a word that repeats itself based...
The list() is used to create an empty list00On November 20, 2020November 20, 2020By admin_adminIn Uncategorized A. True or False 1. The list() is used to create an empty list. 2. The range() is used...
List1 = [‘a’,’b’,’c’,’d’,’e’] and List2= [1, 2, 3]00On November 20, 2020November 20, 2020By admin_adminIn Uncategorized A. Given: List1 = [‘a’,’b’,’c’,’d’,’e’] and List2= [1, 2, 3]. What is the return value of each of the following...