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

PROGRAMMING:Output the specified value within the tuple

Luz5年前 (2021-05-10)题库351
Input a sequence of numbers, separated by spaces, convert them into tuples for operation, and output the multiples of 7 and the number of 7 bits in the tuple.
###Input format:
Enter multiple natural numbers separated by spaces.
###Output format:
Look up the multiples of 7 in the tuple and the number of bits that are 7, and output them separated by spaces.
###Input example:
Here is a set of inputs. For example:
```in
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
```
###Output example:
The corresponding output is given here. For example:
```out
seven
fourteen
seventeen
```







answer:If there is no answer, please comment