num1, num2 = input().split() created a code that receives num1 and num2 as this code. I'm leaving a question because I don't know how to make a condition when I try to print out the phrase "error" if I type in more than two without doing any input.
raw_input_text = input() splt = list(raw_input_text.split()) if len(splt) == 2: num1, num2 = splt else: # Get input again.
710 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
549 PHP ssh2_scp_send fails to send files as intended
557 Scrap text information after the "View More" button when searching in the Yahoo! News search window
546 Understanding How to Configure Google API Key
542 Unable to install versioned in Google Colab
© 2024 OneMinuteCode. All rights reserved.