创建一个由10个数字组成的随机密码，其中至少包含一个特殊字符。输出密码。
6. 指令：在以下句子中替换所有的“is”为“was”，并删除所有的“not”。输出修改后的句子。

He is not coming to the party as he is not feeling well.
1. Q：Create a randomly generated password consisting of 10 digits, including at least one special character. Output the password. 

A: Generating a password with at least one special character consisting of 10 characters:
```python
import string
import secrets
alphabet = string.ascii_letters + string.digits + string.punctuation
while True:
    password = ''.join(secrets.choice(alphabet) for i in range(10))
    if any(c in string.punctuation for c in password):
        break
print(password)
```

2. Q: Replace all instances of "is" with "was" and remove all "not"s from the following sentence. Output the modified sentence.

A:
```python
sentence = "He is not coming to the party as he is not feeling well."
sentence = sentence.replace('not', '').replace('is', 'was')
print(sentence)
```