depot div.py
This commit is contained in:
parent
b5dc9c4ed1
commit
c70ccc2201
6
exercice4/divisible/div.py
Normal file
6
exercice4/divisible/div.py
Normal file
@ -0,0 +1,6 @@
|
||||
nb = int(input("Entrez un nombre : "))
|
||||
|
||||
if nb % 3 == 0 and nb % 13 == 0:
|
||||
print("{nb} est divisible par 3 et 13.")
|
||||
else:
|
||||
print(f"{nb} n'est pas divivble par 3 et 13.")
|
||||
@ -38,7 +38,7 @@ deactivate () {
|
||||
# unset irrelevant variables
|
||||
deactivate nondestructive
|
||||
|
||||
VIRTUAL_ENV="/home/lakrim/Documents/workspace/exercices_python/georges-python/exercice4/venv"
|
||||
VIRTUAL_ENV="/home/lakrim/Documents/workspace/exercices_python/georges-python/exercice4/divisible/venv"
|
||||
export VIRTUAL_ENV
|
||||
|
||||
_OLD_VIRTUAL_PATH="$PATH"
|
||||
@ -8,7 +8,7 @@ alias deactivate 'test $?_OLD_VIRTUAL_PATH != 0 && setenv PATH "$_OLD_VIRTUAL_PA
|
||||
# Unset irrelevant variables.
|
||||
deactivate nondestructive
|
||||
|
||||
setenv VIRTUAL_ENV "/home/lakrim/Documents/workspace/exercices_python/georges-python/exercice4/venv"
|
||||
setenv VIRTUAL_ENV "/home/lakrim/Documents/workspace/exercices_python/georges-python/exercice4/divisible/venv"
|
||||
|
||||
set _OLD_VIRTUAL_PATH="$PATH"
|
||||
setenv PATH "$VIRTUAL_ENV/bin:$PATH"
|
||||
@ -33,7 +33,7 @@ end
|
||||
# Unset irrelevant variables.
|
||||
deactivate nondestructive
|
||||
|
||||
set -gx VIRTUAL_ENV "/home/lakrim/Documents/workspace/exercices_python/georges-python/exercice4/venv"
|
||||
set -gx VIRTUAL_ENV "/home/lakrim/Documents/workspace/exercices_python/georges-python/exercice4/divisible/venv"
|
||||
|
||||
set -gx _OLD_VIRTUAL_PATH $PATH
|
||||
set -gx PATH "$VIRTUAL_ENV/bin" $PATH
|
||||
@ -1,4 +1,4 @@
|
||||
#!/home/lakrim/Documents/workspace/exercices_python/georges-python/exercice4/venv/bin/python3
|
||||
#!/home/lakrim/Documents/workspace/exercices_python/georges-python/exercice4/divisible/venv/bin/python3
|
||||
# -*- coding: utf-8 -*-
|
||||
import re
|
||||
import sys
|
||||
@ -1,4 +1,4 @@
|
||||
#!/home/lakrim/Documents/workspace/exercices_python/georges-python/exercice4/venv/bin/python3
|
||||
#!/home/lakrim/Documents/workspace/exercices_python/georges-python/exercice4/divisible/venv/bin/python3
|
||||
# -*- coding: utf-8 -*-
|
||||
import re
|
||||
import sys
|
||||
@ -1,4 +1,4 @@
|
||||
#!/home/lakrim/Documents/workspace/exercices_python/georges-python/exercice4/venv/bin/python3
|
||||
#!/home/lakrim/Documents/workspace/exercices_python/georges-python/exercice4/divisible/venv/bin/python3
|
||||
# -*- coding: utf-8 -*-
|
||||
import re
|
||||
import sys
|
||||
Binary file not shown.
Binary file not shown.
@ -1,7 +1,7 @@
|
||||
../../../bin/pip,sha256=wqU2xVW7gKchuAP7fZ9AmB0d5SEP9NbAbx4E4PriP6w,296
|
||||
../../../bin/pip3,sha256=wqU2xVW7gKchuAP7fZ9AmB0d5SEP9NbAbx4E4PriP6w,296
|
||||
../../../bin/pip3.10,sha256=wqU2xVW7gKchuAP7fZ9AmB0d5SEP9NbAbx4E4PriP6w,296
|
||||
../../../bin/pip3.10,sha256=wqU2xVW7gKchuAP7fZ9AmB0d5SEP9NbAbx4E4PriP6w,296
|
||||
../../../bin/pip,sha256=4OQz-chJyT-cL3Tx87luAXezx7MDPFV0J0L1_exKsf8,306
|
||||
../../../bin/pip3,sha256=4OQz-chJyT-cL3Tx87luAXezx7MDPFV0J0L1_exKsf8,306
|
||||
../../../bin/pip3.10,sha256=4OQz-chJyT-cL3Tx87luAXezx7MDPFV0J0L1_exKsf8,306
|
||||
../../../bin/pip3.10,sha256=4OQz-chJyT-cL3Tx87luAXezx7MDPFV0J0L1_exKsf8,306
|
||||
pip-22.0.2.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
||||
pip-22.0.2.dist-info/LICENSE.txt,sha256=Y0MApmnUmurmWxLGxIySTFGkzfPR_whtw0VtyLyqIQQ,1093
|
||||
pip-22.0.2.dist-info/METADATA,sha256=Yixa0LKkyzjT2N5JQO5qYDgZcmTs6Z6dg4UbwBNyT2A,4166
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user