0

Hello can anyone please help me with this task

The test task is this You are given a code that takes the input and prints as a single row of text. Add uppercase_decorator to make the text uppercase. The uppercase () method can be used on strings to make them uppercase. The thing is that I am new at generators so I don't know how to do it, it always tell that there is an error. If anyone could help me, it would be really nice

2nd Nov 2021, 4:42 AM
Alan Restrepo
Alan Restrepo - avatar
2 odpowiedzi
+ 3
show what you tried
2nd Nov 2021, 4:51 AM
Erlénio.RS
Erlénio.RS - avatar
+ 3
So you're trying to write a given input in its uppercase format, right? You can use the following one for this purpose: ------------------------------------ x=input() # takes the input print(x.upper()) # prints x in its uppercase-format ------------------------------------ p.s: It is easier to find the problem about your code, when you share it.
2nd Nov 2021, 7:19 AM
Pınar Ongan
Pınar Ongan - avatar