Computer Science, asked by ramsmedicine, 1 month ago

Store your favorite subject's name in a variable. Write a program to join that variable to a proper sentence and print it.
Example: "My favorite subject is Computer Science

Answers

Answered by CoderRishav
1

Explanation:

Answer:

Ah! It's so easy -

favSubject = "CS"

print(f"My favorite subject is {favSubject}")

if you want to make it by taking user input then -

favSubject = input("Enter Subject - ")

print(f"My favorite subject is {favSubject}")

A request please mark me as brainlist because I need to go in next level.

Regards ,

Rishav

Similar questions