Question: Task 1 : Print hello world In Task 2 : Read in two values ( user input ) , convert to integers, and then print
Task : Print hello world
In
Task : Read in two values user input convert to integers, and then print the sum
In :
Note: typevariable lets you check the data type of variable.
In :
Note: In jupyter notebooks, you can also display values without the print shown below
In :
Question: What prints if you don't convert to integers first?
In :
In :
Task : Create a function called "search"
This function should take in two string values lets call them a and Both a and should be set to all lowercase. Then search for the substring in
a It should return the index of the found substring, or if not found.
In :
Here are some examples to test
In : searchHello world', 'hello'
In :
In : searchHello world',
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
