Day 1 Anaconda, Jupyter Notebook, Python Data Types and Variables, input & print statements In this video you will learn how to run Jupyter Notebook from Anaconda. Learn about Data types and variables in python. Type codes and run simple programs in Jupyter Notebook. Here are the examples: print("hello world") output: hello world example 2: Input two numbers from the user num1 = float(input("Enter the first number: ")) num2 = float(input("Enter the second number: ")) Add the numbers result = num1 + num2 Print the result print(f"The sum of {num1} and {num2} is {result}") output: Enter the first number: 10 Enter the second number: 46 The sum of 10.0 and 46.0 is 56.0 Type Casting: the input() statement will consider whatever inputted as string. the float() statement converts that string into floating point variable. If we remove the float() in example 2, the program will still run but the result will not be correct. for example if you run the following code: Input two numbers from the user num1 = input("Enter the first number: ") num2 = input("Enter the second number: ") Add the numbers result = num1 + num2 Print the result print(f"The sum of {num1} and {num2} is {result}") The output will be: Enter the first number: 1 Enter the second number: 2 The sum of 1 and 2 is 12 In this case, "1" & "2" will be stored as strings in num1 and num2 and the statement: result = num1 + num2 will concatenate (join) the two strings and hence the result will be a string "12"