I Haz Codes

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Menu
Using len()

Enter the code into geany and save it as a new file. Remember to end your filename with .py.

Make the following changes –
1. Change word=”hello” to use input.
2. Ask for a second word using input. Store it in a different variable.
3. Display the length of that second word.

word = "hello"
print(len(word)]


[python_submit]

Comments are closed.

Information