Generation

generate functionSat, 25 Feb 2023

Write code to check if there is a % sign at the end of the string

my_string = "How much is this going to cost?" # returns false "%" in my_string # returns true "%" in "Price: $100%"

Questions about programming?Chat with your personal AI assistant