0
Plz can anyone give me example of input
Learning
3 Respostas
+ 2
s=int(input()) ---> for integers
s=input()---> for strings
s=float(input())---> for floats
+ 2
sarada lakshmi also complete the courses of python first
0
x = input('Write something: ')
print(x)
>>>Write something: Wanda Maximoff
>>>Wanda Maximoff
y = int(input('Write a Integer: '))
print(y)
>>>Write a Number: 69
>>>69
z = float(input('Write a Decimal: ')
print(z)
>>> Write a Decimal: 1.999
>>>1.999
https://www.sololearn.com/learn/JUMP_LINK__&&__Python__&&__JUMP_LINK/2426/?ref=app