Password validation

Report a typo

Write a simple program to check if a password meets the requirements below.

A password can use numbers and letters of the Latin alphabet. The password format is as follows: one or more uppercase letters, one or more lowercase letters, and one or more numbers.

If the password validation was successful, the program should print: "Password saved". Otherwise — "Password is too simple".

Sample Input 1:

qwerty

Sample Output 1:

Password is too simple

Sample Input 2:

QWerty1234

Sample Output 2:

Password saved
Write a program in Kotlin
fun main() {
// write your code here

}
___

Create a free account to access the full topic