100 Days of Python challenges

Day 3: Input and Output

Basic Input and Output:
Write a program that reads a single input from the user and prints it to the console. For example, if the user enters their name, the program should output: ""Hello, {name}""

Handling Different Data Types:
Extend the program to read and print different types of inputs. Ensure the inputs are properly converted to their respective types and then printed. The program should ask the user to enter:

  • A string
  • An integer
  • A floating-point number


Reading List:
1. Explore various methods for reading different type of inputs
2. Learn about formatting options such as precision, alignment, and decimal places to present output in a clear and concise manner

Community|Blog|Youtube|Careers|Contact Us
Have Feedback or want to contribute? Email: hello[@]100DaysOfCode.io
100DaysOfCode@2024