Skip to content

Guara1200/FPSemana03

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FPSemana03

rom collections import deque

nmb=input("numbers separated: ")

nmbstack=deque(nmb.split())

print(nmbstack)

for i in range(len(nmbstack)): element=nmbstack.pop() print(int(element)**2)

from collections import deque

palavras=input("palavras separadas:")

plvstack=deque(palavras.split())

print(plvstack)

for i in range(len(plvstack)): elt=plvstack.pop() if"o" in elt: print(elt)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages