#161. 字符串列表末尾添加星号

    ID: 161 Type: Default 1000ms 256MiB Tried: 0 Accepted: 0 Difficulty: (None) Uploaded By: Tags>codingbatFunctional-1gesp3字符串

字符串列表末尾添加星号

Append Asterisk to Strings

Background

Congcong is learning how to manipulate strings. He encountered a task that requires a simple modification to a list of strings.

Problem Description

Given a list of strings, return a new list where each string has an asterisk * appended to its end.

Input Format

Input is given from Standard Input in the following format.

A single line containing several space-separated strings. Each string does not contain spaces.

Output Format

Output to Standard Output in the following format.

A single line, outputting a list in the format `["string1\