Carefully go through the code given below and answer the questions based on it
thestr =This is a test
inputStr = input(" Enter integer: ")
inputInt = int(inputStr)
teststr = theStr
while inputlnt >= @ :
teststr = teststr(1:-1]
inputlnt = inputlnt - 1
testBool = 't' in testStr
print (theStr)
# Line 1
print (teststr)
# Line 2
print (inputlnt)
# Line 3
print (testBool)
# Line 4
(0) Given the input integer 3, what output is produced by Line 1 ?
Answers
Answered by
2
Answer:
.........................@......
Step-by-step explanation:
..........
Answered by
4
Answer:
1.this is rest
2.none of these
3.1
4.false
Similar questions