请参考【周二写下第一行代码~周三项目上线！周四休整，周五赶需求。书写速度太快】大意不变前提下使用 Python 建立生成数学卡片的语句。
user
```python
import random

def generate_math_card():
    operations = ['+', '-', '*', '/']
    num1 = random.randint(1, 100)
    num2 = random.randint(1, 100)
    operation = random.choice(operations)
    return f"{num1} {operation} {num2}"

# 生成并打印数学卡片
print(generate_math_card())
```
assistant