'Silicon Valley' Actor Kumail Nanjiani on Failure, Purpose and Personal Growth The actor-comedian in a commencement speech encouraged students to explore new ideas, be open to failure and meet different people.

By Rose Leadem

Opinions expressed by Entrepreneur contributors are their own.

Twenty years ago, Kumail Nanjiani moved from his home country of Pakistan to attend college in the U.S. The comedian and star of HBO show Silicon Valley on Monday returned to his alma mater, Grinnell College, to deliver this year's commencement address.

Related: Mark Zuckerberg Encourages Harvard Grads to Create a Sense of Purpose

Impressed by the diversity of students at the school -- "white, black, queer, gender fluid, every religion, no religion" -- Nanjiani used his speech and his experience to encourage the graduates to meet people unlike them and to explore unfamiliar ideas.

From sharing his experience in a new country to falling in love to reaching success, Nanjiani had some powerful words for the graduating class -- and everyone else.

Here's what you can learn from him:

1. Don't be afraid to fail.

"Nobody is paying attention to your failure. The world is full of people failing. People are failing all around you. Failure is boring. Your failure will not be so spectacular that people will write articles about your failure or even remember your failure.

2. Live with purpose.

"You can go slow. Allow your dreams and goals to change, but live an intentional life."

Related: The Most Inspiring Quotes from 2017 Commencement Speeches

3. Meet different people.

"Populate your life with people different from you. Once you leave school you get to choose the kinds of people you're going to be around rather than forced to be around them."

4. Be able to grow.

"Being a fish out of water is tough, but that's how you evolve."

Rose Leadem is a freelance writer for Entrepreneur.com. 

Want to be an Entrepreneur Leadership Network contributor? Apply now to join.

Business Ideas

70 Small Business Ideas to Start in 2025

We put together a list of the best, most profitable small business ideas for entrepreneurs to pursue in 2025.

Buying / Investing in Business

Big Investors Are Betting on This 'Unlisted' Stock

You can join them as an early-stage investor as this company disrupts a $1.3T market.

Buying / Investing in Business

From a $120M Acquisition to a $1.3T Market

Co-ownership is creating big opportunities for entrepreneurs.

Business News

AI Could Cause 99% of All Workers to Be Unemployed in the Next Five Years, Says Computer Science Professor

Professor Roman Yampolskiy predicted that artificial general intelligence would be developed and used by 2030, leading to mass automation.

Business News

Mark Zuckerberg 'Insisted' Executives Join Him For a MMA Training Session, According to Meta's Ex-President of Global Affairs

Nick Clegg, Meta's former president of global affairs, says in a new book that he once had to get on the mat with a coworker.