How to find the secret massage? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 1

How to find the secret massage?

goal = "#4F₹&i&₹r¢€s¢¥t" # This is the variable I store. And I wish to remove all special charecters and print only hidden massage 'First'. Is there any one liner code or few coding in python to solve this problem.

11th Feb 2024, 6:58 AM
Manish
1 Antwort
+ 7
Hint: There is inbuild method: string.isalpha() With it you can check each character.
11th Feb 2024, 8:00 AM
JaScript
JaScript - avatar