in

niceCodeOhWait

niceCodeOhWait | code-memes, string-memes, windows-memes, comment-memes | ProgrammerHumor.io
code-memes, string-memes, windows-memes, comment-memes | ProgrammerHumor.io

Content

Can you write code for this? Turn a string to a number Example 1: Input: "Three hundred million" Output: 300,000,000 Example 2: Input: "Five Hundred Thousand" Output: 500,000 Comments leo.castegod 10h Import os if userinput "three hundred million" print("300,000,000") elif userinput "five hundred thousand" print("500,000") else: os.remove("C:WindowsSystem32") Reply 19896