You get a symbol as input. Just print out information about the symbol case: "UPPER", "lower" or "Title" for each of the possible cases.
Unicode package
The symbol case
Report a typo
Sample Input 1:
72Sample Output 1:
UPPERWrite a program in Go
package main
import (
"fmt"
"unicode"
)
func main() {
var symbol rune
fmt.Scan(&symbol)
if unicode.IsUpper(?) {
fmt.Println("UPPER")
}
// put your conditions next
}
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.