• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
0
You can use join: import re text = input() pattern = r"\#+\w+" print(', '.join(re.findall(pattern,text)))
12th Sep 2020, 3:21 AM
Bagon
Bagon - avatar

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
What are ctx.save() and ctx.restore() in canvas?
1 Votes
اريد برنامج بيع شاهي احمر وشاهي حليب وكبتشينو
1 Votes
Kak otmenit' podpisku v Rossii na iOs?
0 Votes
Account trouble.
3 Votes
What could i use c# and c++ for?
1 Votes
What is Decorator in Python ? Can Someone Explain Clearly??
1 Votes
What course is worth and best in this time ?
0 Votes
App keeps crashing
2 Votes
Is everyone else's lessons not loading?
2 Votes
What do you think about using AI?
0 Votes