Computers and Technology
Computers and Technology, 11.01.2021 06:40, alani0720

Int = int(input()) float= float(input())
character = (input())
string = (input())

print('Enter integer (32 - 126):\n',int)
print('Enter float:\n',float)
print('Enter character:\n',character)
print('Enter string:\n',string)

print(int, float, character, string)
print(string, character, float, int)
print(int, 'converted to a character is c')

The output is this:

Enter integer (32 - 126):
99
Enter float:
3.77
Enter character:
z
Enter string:
Howdy
99 3.77 z Howdy
Howdy z 3.77 99
99 converted to a character is c

What am I doing wrong?

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 01:30, solikhalifeoy3j1r
In deadlock avoidance using banker’s algorithm, what would be the consequence(s) of: (i) a process declaring its maximum need as maximum possible for each resource. in other words, if a resource a has 5 instances, then each process declares its maximum need as 5. (ii) a process declaring its minimum needs as maximum needs. for example, a process may need 2-5 instances of resource a. but it declares its maximum need as 2.
Answers: 3
image
Computers and Technology, 23.06.2019 17:30, granta1
Write pseudocode to represent the logic of a program that allows the user to enter a value. the program multiplies the value by 10 and outputs the result.
Answers: 1
image
Computers and Technology, 24.06.2019 07:00, AnaiyaKirksey8
You are most likely to automatically encode information about
Answers: 1
image
Computers and Technology, 24.06.2019 09:00, lisacarter0804
Why might you chose to crest a function resume
Answers: 1
Do you know the correct answer?
Int = int(input()) float= float(input())
character = (input())
string = (input())
...

Questions in other subjects:

Konu
Mathematics, 26.01.2021 20:30
Konu
Mathematics, 26.01.2021 20:30