Python QUIZ 2
Q:1. If list=['red','blue','green','yellow'], What will be the output of :
Q:2. Which function will remove an item from a list?
what will be the output of : print(list[3]) after running the code : list.sort(reverse=True)?
Q :4. Which statement is correct?
Q :5. Which method is used to arrange the items of a list in ascending order in Python?
Q :6. Which of the following is used for performing repetitive tasks in Python?
Q :7. How is a line, or a group of lines, related to the rest of the Python program?
Q :8. If numbers=[1,2,3,4,5] then how to get the largest value of this list?
Q :9.What should come in place of X if we want to print HI! 6 times?
Q :10. Which of the following is a valid singleton tuple?
SEARCH
LATEST
3-latest-65px
SECCIONS
Search This Blog
Powered by Blogger.
Blog Archive
- July 2023 (1)
- January 2023 (4)
- December 2022 (1)
- May 2022 (1)
- December 2021 (4)
- November 2021 (12)
- October 2021 (2)
- August 2021 (1)
- July 2021 (19)
- June 2021 (5)
- May 2021 (29)
- April 2021 (11)
- March 2021 (3)
-
Precedence When an expression has two or more operators, we need to identify the correct sequence to evaluate these operators. This ...
-
Operators An operator is a symbol that tells the compiler to perform specific mathematical or logical operations, based on the value provi...
-
Reading from the File In C programming we can read content of a file by using fscanf() , fgets() and fgetc() functions. All these func...
Operators in C
Operators An operator is a symbol that tells the compiler to perform specific mathematical or logical operations, based on the value provi...

No comments:
Post a Comment