LANHAM, Md. (AP) _ 2U Inc. (TWOU) on Thursday reported a loss of $21.8 million in its second quarter.

The Lanham, Maryland-based company said it had a loss of 29 cents per share. Losses, adjusted for one-time gains and costs, came to 9 cents per share.

The results topped Wall Street expectations. The average estimate of six analysts surveyed by Zacks Investment Research was for a loss of 16 cents per share.

The online education services provider posted revenue of $237.2 million in the period, also beating Street forecasts. Six analysts surveyed by Zacks expected $233.3 million.

2U expects full-year revenue in the range of $925 million to $955 million.

2U shares have risen 15% since the beginning of the year. In the final minutes of trading on Thursday, shares hit $45.98, an increase of 6% in the last 12 months.

This story was generated by Automated Insights (http://automatedinsights.com/ap) using data from Zacks Investment Research. Access a Zacks stock report on TWOU at https://www.zacks.com/ap/TWOU

Copyright by Automated Insights, Inc. All rights reserved., source Associated Press News