Skip to content

GoCelesteAI/python_input_output

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Python User Input & Output

Source code for Python Tutorial for Beginners #5 - User Input & Output.

Files

  • basic_input.py - Reading user input with input(), type conversion with int()
  • print_options.py - Print function sep, end parameters, f-string alignment
  • converter.py - Mini project: Temperature converter using input(), float(), if/else

Running

python3 basic_input.py
python3 print_options.py
python3 converter.py

Topics Covered

  • input() function for reading user text
  • Type conversion with int() and float()
  • print() with sep and end parameters
  • f-string alignment with < and > format specifiers
  • Combining input and print for interactive programs

About

Python Tutorial #5: User Input & Output - input(), print(), Temperature Converter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages