Meu código:
def cria_conta(numero, titular, saldo, limite):
conta = {"numero": numero, "titular": titular, "saldo": saldo, "limite": limite}
return conta
No meu terminal: Windows PowerShell Copyright (C) Microsoft Corporation. All rights reserved.
Install the latest PowerShell for new features and improvements! https://aka.ms/PSWindows
PS C:\Users\joaoe\Desktop\AluraPython> & C:/Users/joaoe/AppData/Local/Programs/Python/Python310/python.exe c:/Users/joaoe/Desktop/AluraPython/teste.py PS C:\Users\joaoe\Desktop\AluraPython> from teste import cria_conta At line:1 char:1
from teste import cria_conta
~The 'from' keyword is not supported in this version of the language.- CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
- FullyQualifiedErrorId : ReservedKeywordNotAllowed
Alguém sabe o que tenho que fazer para conseguir usar o terminal ?