import math as operation while 1: val1=raw_input("Tapez Opérande #1(-1 pour quitter): ") val1= int(val1) val2=raw_input("Tapez Opérande #2(-1 pour quitter): ") val2= int(val2) if val1==-1 or val2==-1: break print operation.pow(val1, val2) |
Livres Sur ce Sujet
Apprendre à programmer avec Python 3 Apprenez à programmer en Python Python : Petit guide à l’usage du développeur agile Apprendre à programmer avec Python 3 : Avec plus de 50 pages de corigés d’exercices !