1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Step2247 [10]
3 years ago
11

float('3.66') converts the string "3.5" to a float. Which statement is true? You need to import the float() method from the math

module. When you first open IDLE, you can use the float() function. You need to import float() from the random module. There is no float() function. You need to write your own.
Computers and Technology
1 answer:
Thepotemich [5.8K]3 years ago
7 0

Answer:

When you first open IDLE, you can use the float() function

Explanation:

i bellive this is the rigtht anser but i am not 100%

You might be interested in
Write a Java class with the following methods: getArray(int numStrings) is an instance method that takes command line input (use
mezya [45]

Answer:

Follows are the code to this question:

import java.util.*;//import packae for user-input  

public class Main//defining a class Main

{

public String[] getArray(int numString)//defining a method getArray

{

String[] name=new String[numString];//defining array of String values

Scanner in = new Scanner(System.in);// creating scanner class object for input values from user-end

for(int i=0;i<numString;i++)//defining for loop for input multiple values

{

System.out.print("Enter String Value :");//print message

name[i]=in.nextLine();//input values

}

return name;//return array values

}

public String getLongestString(String[] sArray)//defining a method getLongestString

{

int m=0,mi=0; //defining integer variables

for(int i=0;i<sArray.length;i++)//defining for loop for check the longest value in array

{

if(m<sArray[i].length())//defining if block that checks m varaible value greater then sArray length  

{

m=sArray[i].length();//use m to hold sArray length

mi=i;//use max_index to hold i that is loop value

}

}

return sArray[mi];//return Longest value

}

public static void main(String[] args)//defining main method

{

Main s=new Main();//Creating object of main class    

String[] n;//defining string variable n  

n=s.getArray(5);//use n varaible to call getArray method and store its value

System.out.println("Longest value is: "+s.getLongestString(n));//use print method to call getLongestString method

}

}

Output:

please find attached file.

Explanation:

In the given java program code, inside the main class two method that is "getArray and getLongestString", is defined, in which the "getArray" method uses an integer variable in its parameter and inside the method, an array is defined that use a  scanner class for input array value.

  • In the "getLongestString" pass as a parameter and inside the method, two integer variable "m and mi" is defined that use in the loop to return the longest string value.
  • In the class main method is to define that creates a class object and call the above method and use the print method to return its value.  

4 0
3 years ago
Big Data, Apple Pie, and the Future In this unit, you were introduced to various kinds of software, particularly databases. Data
Andreas93 [3]

Answer:

I want to answer the 1st question. It asks, “Will we treat people unfairly for crimes they haven’t committed?” Well, of course, that’s a 100% chance. But, some people forget that people treat people unfairly for crimes they haven’t committed. Some people stay in jail for up to 35 years and are then released because they are innocent. Yes, computers will make mistakes, but the probability is much, much smaller than a human.

Explanation:

3 0
3 years ago
What is a computer meaning
goldenfox [79]

Answer:

computer means an electronic machine which process raw data and gives meaningful information to the user

7 0
3 years ago
You're setting up offline conversion tracking. You need to to upload offline data into your Google Ads account. Which two format
ikadub [295]

Answer:

The two formats supported are C. Google sheets and D. CSV

Explanation:

Google Sheets, CSV (Comma Separated Value) files and Excel files are accepted for upload in the google ads account. To upload files,

  1. go to conversions and click on uploads (should be found on the left sidebar).
  2. Look for the + (plus) sign to begin your upload.
  3. Locate the location of the documents either on your local computer or sync with google sheets.
  4. Once the upload is complete, click the preview button to check the uploaded data to see it if it correct.
  5. As soon as you are satisfied, click on Apply to sync your data to your google ads account.
8 0
3 years ago
Mark’s friends told him about an automated program that sends unsolicited messages to multiple users. Which type of program were
Phantasy [73]
Spambots send thousands of messages world wide once they get your information things like email and such and send out unsolicited things out constantly. Brainliest??
5 0
3 years ago
Read 2 more answers
Other questions:
  • Uses computers resources from multiple locations to solve ​
    13·2 answers
  • In this exercise, you are given a word or phrase and you need to return that word or phrase with the word ‘like’ in front of it.
    5·1 answer
  • Schools are businesses that need to install software on a large number of computers can usually obtain a ______
    13·1 answer
  • _____ remove the part of an image starting from an edge​
    13·1 answer
  • Blank includes websites that encourage interaction and connection among people businesses and organizations
    14·2 answers
  • It is a small hand tool used generally in decorative works such as making garnishes
    15·1 answer
  • In C!!
    11·1 answer
  • Write a program that reads a file that contains only integers, but some of the integers have embedded commas, as in 145,020. The
    10·1 answer
  • 1. What year was the Entertainment Software Rating Board created?
    15·1 answer
  • Question #4
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!