Can i take these 3 bunches of code below

@cyprus125

Try this

void setup()
{
  Serial.begin(115200);
  float temp = 1.2;
  float hum = 3.4;
  float pres = 45.6;
  Serial.printf("Temperature: %.2f ,Humidity: %.2f , Pressure: %.3f \n", temp, hum, pres);
}

void loop()
{
}