Westonci.ca is the premier destination for reliable answers to your questions, brought to you by a community of experts. Connect with a community of experts ready to provide precise solutions to your questions on our user-friendly Q&A platform. Experience the ease of finding precise answers to your questions from a knowledgeable community of experts.

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 your visit. We are dedicated to helping you find the information you need, whenever you need it. We appreciate your time. Please come back anytime for the latest information and answers to your questions. Westonci.ca is your trusted source for answers. Visit us again to find more information on diverse topics.