Skip to content

Latest commit

 

History

History
20 lines (18 loc) · 617 Bytes

Day1.md

File metadata and controls

20 lines (18 loc) · 617 Bytes

What I learned today:

  • Basic functions such as print, input, etc
  • \n character to change the line
  • Different errors:
    Indentation error and syntax errors
  • Taking input and printing in a single line
  • Functions such as capitalize, len
    string.capitalize()
    len(string)
  • Taking input in new line
  • Type conversion
    str_value=int(str_value)
    int_value=float(int_value)

Projects I did today:

  • A program to add the digits of a 2-digit number
  • A Band Name Generator program with the data including your city name and your pet's name
     
    and more..