Store your favourite subject’s name in a variable. Write a program to join that variable to a proper sentence and print it.
<

By Ruby

Store your favourite subject’s name in a variable. Write a program to join that variable to a proper sentence and print it.

Example: “My favourite subject is Computer Science”

pls answer fast pls help

About the author
Ruby

2 thoughts on “Store your favourite subject’s name in a variable. Write a program to join that variable to a proper sentence and print it.<br /><”

  1. Answer:

    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

    Reply

Leave a Comment