给定一段英语文本，使用Python编写代码翻译成中文。
以下是一个英文文本的示例，将作为输入提供给翻译代码：
```
text = "Artificial intelligence (AI) is a wide-ranging branch of computer science concerned with building smart machines capable of performing tasks that typically require human intelligence. AI is an interdisciplinary science with multiple approaches, but advancements in machine learning and deep learning are creating a paradigm shift in virtually every sector of the tech industry."
```
人工智能（AI）是计算机科学的一个广泛领域，涉及构建智能机器，能够执行通常需要人类智能的任务。AI是一门跨学科的科学，有多种方法，但机器学习和深度学习的进步正在创建几乎每个技术行业的范式转变。