Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

Write two print statements output the month, a slash, and the year of birth. if month 1 and year 2 0 0 0 , the

Write two print statements output the month, a slash, and the year of birth.
if month 1 and year 2000, the output is: 1/2000
Write two input statements to get your name and age
Use print and input statements to print the number of onions entered by the user. The output is the value of numOnions, followed by " onions" and a newline.
20 onions
Write four output statements to output the following figure with d's. End with a newline.
The output is:
ddddd
d d
ddddd
d d
ddddd

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