Created
March 19, 2020 15:13
-
-
Save andriiburka/c31b6355569734deb537560df2eedb79 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Whyyyy? 0/100 | |
import re | |
all_user_inputs = '' | |
while True: | |
user_input = input() | |
if len(user_input) == 0: | |
break | |
else: | |
all_user_inputs += (user_input + " \n") | |
nums = re.findall(r"\d+", all_user_inputs) | |
print(*nums) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment