• Cursos
  • Compilador de Código
  • Discutir
  • Preços
  • Teams
Menu
+ 1

Exec function

How does the 'exec' function in Python work? What effects does the exec function have on the code?

exec
7th Jul 2018, 7:40 PM
arbaaz
2 Respostas
+ 3
Basically, it executes a piece of code. Here you have more information: - https://www.w3schools.com/JUMP_LINK__&&__python__&&__JUMP_LINK/ref_func_exec.asp - https://www.programiz.com/python-programming/methods/built-in/exec
7th Jul 2018, 8:00 PM
Mickel
Mickel - avatar
+ 1
Thank you for your answer.
8th Jul 2018, 10:03 PM
arbaaz

Costuma ter perguntas como essa?

Aprenda de maneira mais eficiente, de graça:

  • Introdução ao Python

    7.1M de alunos

  • Introdução ao Java

    4.7M de alunos

  • Introdução ao C

    1.5M alunos

  • Introdução ao HTML

    7.5M alunos

Ver todos os cursos
Quente hoje
Ошибка в приложении Sololearn
1 Votes
Is anyone else experiencing this Sololearn issue?
0 Votes
NEO V2.0
1 Votes
Best language?
0 Votes
solo learn program issue - iPhone?
1 Votes
How do I keep myself motivated in coding
0 Votes
Is it possible to write Rust code that is as compact and expressive as Python?
0 Votes
Learn - multiple choice course questions display in one box making it impossible to continue
1 Votes
Sql practice
0 Votes
I want to know how to make an Payment App like what I need to learn I need some guidance
0 Votes