Computer Science, asked by lakshmiprasanna3219, 10 months ago

What will be output of the following expressions?
#Considering Python 2.7
; ; ; print (‘Test’ * 3)
; ; ; print (‘7’+’8’)

Answers

Answered by xevilplaylistx
17

>>>print('test'*3)

output ➡️TestTestTest

>>>print('7'+'8')

output ➡️ 15

Answered by dust
9

Answer:

print('Test'*3) will output TestTestTest

print('7'+'8') will output 15

Explanation:

You should remove ;;; from beginning of lines, else it would trow error

Similar questions