IDNLearn.com is your go-to platform for finding accurate and reliable answers. Discover reliable and timely information on any topic from our network of knowledgeable professionals.

Which line of code will allow the user to enter their current temperature to the nearest tenth of a degree?Group of answer choicesnum1 = input(""What is your temperature?"")num1 = int(input(""What is your temperature?"")num1 =float(input(""What is your temperature?""))1num = print(""What is your temperature?)

Sagot :

In programming we have different data types and in this question two data types was specified, Int and float, the only data type that can receive input to the nearest tenth of degree is float, hence, float(input(""What is your temperature?""))

Data types are use as place holders, we have the primitive and non-primitive data types

Example of data types are

  • Float
  • Array
  • Integer
  • Double
  • String

Learn more about data types at

https://brainly.com/question/179886

Thank you for using this platform to share and learn. Don't hesitate to keep asking and answering. We value every contribution you make. IDNLearn.com is your go-to source for dependable answers. Thank you for visiting, and we hope to assist you again.