-->
当前位置:首页 > 题库

PROGRAMMING:toggle case

Luz5年前 (2021-05-10)题库387
Shao and his deskmate Li play a game to test their reaction. One of them gives a letter. If the letter is a capital letter, the other sends the lowercase letter immediately. If the letter is lowercase, its upper case is sent. Now, Shao wants to beat his deskmate, please help him write a program.
###Input format:
Enter a letter (uppercase or lowercase)
###Output format:
Input is a capital letter, output lowercase letter, if the input is a lowercase letter, output a capital letter
###Input example:
Here is a set of inputs. For example:
```in
A
```
###Output example:
The corresponding output is given here. For example:
```out
a
```







answer:If there is no answer, please comment