A roll number as a String keeps its zeros; as an Integer it doesn't.
String or IntegerDatatypes
Built from 2 kinds of block, between Start and End. Each one has a guide.
B4Coder writes the same program as real code. Change the flowchart in the editor and the code changes with it.
roll = input("Enter your roll number ")rollNumber = int(input("Type it again "))print("As a String: " + roll)print("As an Integer: " + str(rollNumber))How each block becomes code: Python · Java · C++ · C# · JavaScript