当我运行命令时:
sudo apt-get update
Run Code Online (Sandbox Code Playgroud)
我收到以下警告:
There is no public key available for the following key IDs: 1397BC53640DB551
Run Code Online (Sandbox Code Playgroud)
这是我收到的唯一警告,我没有收到任何错误。
我该如何修复它以及 1397BC53640DB551 的关键是什么?
我有一个名为 python 文件solution.py
,我可以使用以下命令通过终端成功执行它:
chmod +x solution.py
python3 solution.py
Run Code Online (Sandbox Code Playgroud)
如果我有简单的打印短语等,这很好用。
如果我已经定义了一个函数solution.py
并且我想直接从终端使用我想要的参数调用它,我该怎么办?如何将参数传递给函数调用?