0

Just simple question

How to make the print print reverted text and lowercase

26th Jun 2025, 4:23 PM
green YT
green YT - avatar
4 Respostas
+ 1
Use the method lower() for lowercase text, and the slicing syntax [::-1] for reversing(reverting) text. variable = "Your text" print(variable.lower()[::-1])
26th Jun 2025, 4:41 PM
Afnan Irtesum Chowdhury
Afnan Irtesum Chowdhury - avatar
0
Thx for answering it worked
26th Jun 2025, 4:54 PM
green YT
green YT - avatar
0
green YT , i noticed that most of your questions are aimed to solve a problem quickly, without putting in much effort by yourself. That's not really learning, because the solution will also quickly be forgotten. Afnan Irtesum Chowdhury , code samples to such questions should only be given if the asker can show a serious code try first.
26th Jun 2025, 7:49 PM
Lothar
Lothar - avatar
0
I tried bro I was tried but didn't know and I forgot some attributes
26th Jun 2025, 8:06 PM
green YT
green YT - avatar