What is the output of the following code? a=3 b=”12″ print (a*b)

Join Our WhatsApp Group Join Now
Join Us On Telegram Join Now

1. What is the output of the following code?

A1Q1

  • 36
  • 121212
  • 123
  • Error: Invalid operation, unsupported operator ‘*’ used between ‘int’ and ‘str’
Answer :- 121212

All Answers are uploaded on this site : Click Here

2. What is the output of the following code?
A1Q2

  • -1
  • -2
  • -1.28
  • 1.28
Answer :-  -2
Course NamePython For Data Science
CategoryNPTEL Assignment Answer
Home Click Here
Join Us on TelegramClick Here

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top