-2
n = str(input("Informe o nome do aluno: ")
m = int(input("Informe o numero da matricula do aluno: ")
print("O nome do aluno é: %s, o numero da matricula é: %d" %(n,m))
-2
n = str(input("Informe o nome do aluno: ")
m = int(input("Informe o numero da matricula do aluno: ")
print("O nome do aluno é: %s, o numero da matricula é: %d" %(n,m))
1
Try it like this:
n = str(input("Informe o nome do aluno: "))
m = int(input("Informe o numero da matricula do aluno: "))
print("O nome do aluno é: %s, o numero da matricula é: %d" % (n,m))
Hahaha damn parentheses
@taynan It worked?
Worse than not, now you’re making a mistake on the last line :(
Now I’ve done it, thank you very much :)
Browser other questions tagged python python-3.x
You are not signed in. Login or sign up in order to post.
Some are missing
)
at the end of row 1 and row 2.– stderr
m = int(input("Informe o numero da matricula do aluno: ")
is missing close the end of this line.– viana
Please further detail your question, to get a better answer.
– viana
Inattention, young man. It’s a good idea to start using Sublime Text with a Python Linter, or some other ide showing syntax errors.
– Wallace Maxters
Thank you, it was my :T
– taynan
I tried to install the eclipse but was giving error here, I will try another ide
– taynan