2026-01-28 17:03:40 +11:00
|
|
|
use io
|
|
|
|
|
|
2025-12-20 20:25:48 +11:00
|
|
|
accessNotGranted = true
|
|
|
|
|
|
|
|
|
|
while accessNotGranted {
|
|
|
|
|
password = input("Password: ")
|
|
|
|
|
if password == "dingus" {
|
|
|
|
|
accessNotGranted = false
|
|
|
|
|
}
|
|
|
|
|
if password != "dingus" {
|
|
|
|
|
puts "Incorrect password!"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
puts "Welcome!"
|