Getting input from the user in Python

Take name, roll number and field of interest from user as inputs and print in the below format:

Hey, my name is [name] and my roll number is [roll number]. My field of interest is [interest].

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top