What is the repetition operator in Python?
What is x if x = math.isfinite(float(‘0.0’))?
Which of these is not a core data type in Python?
Which types of operands are permitted with logical operators in Python?
x=input() y=input() print(x//y)
If the input lines are "4" and "2", find the output of the above code.
Consider a listEx is [20, 5, 25, 1, 3], what is the result after listEx.pop(1)
What will be the output of the following Python code?
>>> a={3,4,5}
>>> b={5,6,7}
>>> a|b
If we run __name__, which imports another module, then it will print ___________?
Which of the following statements about strings in Python is true?
fp=open("txt.txt")
c=0
for i in fp:
if not i.startswith("H"):
c+=1
print(c)
If the file txt.txt contains the following text then what is the output of the above code?
hello
World!! Hi
Hello
check