Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

questions 1-3 please + Code + Markdown Problem 1. You are given the following paragraph. text = A plance around her studio revenls sone of

questions 1-3 please image text in transcribed
+ Code + Markdown Problem 1. You are given the following paragraph. text = "A plance around her studio revenls sone of the conplexity. The place is packed chackablock - 1 wath clusters of objects grouped by type: alarn clocks (maybe two doren), antique books, model - 1 "clipper ships, African masks, birdcages, gloses, painted wood watermelon stices, the Mexican "I "heating charns known as ellagros and so-catted manty dolts piled on a chair." Write a code that will ask the user to enter a word. Then check if this word is contained in the text given above. Empty markdown cell, double-click or press enter to edil. Problem 2. Wilte a condtition that checks it the word "banana" Is present in the user inout. Make sure that it works independently of the capitalization! Problem 3. Ask the user for the year in which they were born, and print the sge of the user. (Assume that the user's birthday is always Jenuary 1 so that the calculation is simple.) Hht: the int function might be useful here. Empty markdown cell, double-click or press enter to edit

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions