embedded system,Arduino,Raspberry pi,ARM7,MM32,STM32,PIC and Python,Django,Datascience and web development
Tuesday, April 6, 2021
input function in python
# -*- coding: utf-8 -*-
"""
Created on Tue Apr 6 22:22:06 2021
@author: Onyx1
#input from the user
#syntax:input()
a=input()
b=input()
print(a+b)
a=int(input("please enter number") ) #string type
b=int(input("please enter number ")) #string type
print(a,type(a))
print(b,type(b))
print(a+b)
a=input("enter your name")
print(a, type(a))
a =float(input("please enter floating values"))
print(a,type(a))
a= int(input("enter number"))
print(a,type(a))
"""
#raw_input------python 2.x version input
Subscribe to:
Post Comments (Atom)
-
How to do the programming python in windows command prompt Step 1: please go through below link website f...
-
Serial.print() Description Prints data to the serial port as human-readable ASCII text. This command can take many forms. Numbers a...
No comments:
Post a Comment