.
This commit is contained in:
parent
a34df48a3d
commit
1ded54588d
2 changed files with 5 additions and 0 deletions
16
dev/codedex/loops.py
Normal file
16
dev/codedex/loops.py
Normal file
|
@ -0,0 +1,16 @@
|
|||
print('BANK OF DEDEDEX')
|
||||
|
||||
pin1 = int(input("Enter your first PIN: "))
|
||||
|
||||
pin2 = int(input("Enter your PIN again, to confirm: "))
|
||||
|
||||
if pin1 == pin2:
|
||||
password = pin1
|
||||
|
||||
pin = int(input('Enter your PIN: '))
|
||||
|
||||
while pin != password:
|
||||
pin = int(input('Incorrect PIN. Enter your PIN again: '))
|
||||
|
||||
if pin == password:
|
||||
print('PIN was entered successfully!')
|
5
dev/test.py
Normal file
5
dev/test.py
Normal file
|
@ -0,0 +1,5 @@
|
|||
from datetime import datetime
|
||||
|
||||
current_year = datetime.now().year
|
||||
|
||||
print(current_year)
|
Loading…
Add table
Add a link
Reference in a new issue