Computer Science, asked by rinisen, 4 months ago

1.Write a program to print the name of months in python.

2.Write a program to get full name and date of birth from the user and print them as separate strings in python.

3.Write a program to add two numbers,given variables a=11 and b=5 in python.
Pls help will be marked as brainliest

Answers

Answered by valeriy69
0

\small\mathsf\color{pink}{Program\: 1}

import datetime

for i in range(1, 13):

print(datetime.date(2020, i, 1).strftime("%B"))

\small\mathsf\color{pink}{Program\: 2}

name = input("enter name: ")

birthday = input("enter birthday: ")

print(name)

print(birthday)

\small\mathsf\color{pink}{Program\: 3}

a = 11

b = 5

print(a + b)

\small\mathsf\color{lightgreen}useful?\: \color{white}\longrightarrow\: \color{orange}brainliest!

Similar questions